Generated palette

Blue Palette

Blue Palette is a generated palette built from #0000FF, #FFFF00, #007FFF, #7F00FF. According to Colors Encyclopedia, this palette can be used as a CSS-ready color set with linked HEX values, source color context, and machine-readable palette data.

Blue Palette combines primary #0000FF, secondary #FFFF00, surface #007FFF, background #7F00FF, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a yellow palette, purple palette, gray palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.

5colors
Yellow palettedominant group
5use cases

Palette Color Roles

Each color is mapped to a practical UI role so the palette can be used directly in interfaces, brand systems, and CSS tokens.

Primary#0000FFBlue
Secondary#FFFF00Yellow
Surface#007FFF#007FFF
Background#7F00FF#7F00FF
Accent#FFFFFFWhite

CSS Variables

--palette-blue-primary: #0000FF;
--palette-blue-secondary: #FFFF00;
--palette-blue-surface: #007FFF;
--palette-blue-background: #7F00FF;
--palette-blue-accent: #FFFFFF;

Accessibility Snapshot

Contrast checks for each palette color against black and white text, with best foreground guidance.

Primary#0000FF
Black 2.44:1 · White 8.59:1
Best #FFFFFF
Secondary#FFFF00
Black 19.56:1 · White 1.07:1
Best #000000
Surface#007FFF
Black 5.48:1 · White 3.83:1
Best #000000
Background#7F00FF
Black 3.35:1 · White 6.28:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

A compact preview of how the palette behaves across common interface components.

ButtonPrimary action with checked foreground contrast.
CardSurface treatment using palette roles.
AlertBackground, text, and accent roles together.
NavbarSecondary role with accent state.

Machine-readable data

Machine-Readable Blue Palette Data (JSON)

Structured palette data for Blue Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.

AI-Ready Dataset v1.0.0
Luminance0.0722
Black text2.44:1AA Fail
White text8.59:1AA Pass
colorsPalette colors with roles and color systems
rolesPrimary, secondary, surface, background, and accent mapping
accessibilityContrast and WCAG text options by palette color
semanticGroupsAI-readable palette labels
useCasesDesign and implementation contexts
cssVariablesCopy-ready CSS custom properties
Download JSON Open API
Structured sections
Roles
[
  {
    "role": "primary",
    "hex": "#0000FF",
    "name": "Blue"
  },
  {
    "role": "secondary",
    "hex": "#FFFF00",
    "name": "Yellow"
  },
  {
    "role": "surface",
    "hex": "#007FFF",
    "name": "#007FFF"
  },
  {
    "role": "background",
    "hex": "#7F00FF",
    "name": "#7F00FF"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#0000FF",
    "name": "Blue",
    "blackContrast": 2.44,
    "whiteContrast": 8.59,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#FFFF00",
    "name": "Yellow",
    "blackContrast": 19.56,
    "whiteContrast": 1.07,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "surface",
    "hex": "#007FFF",
    "name": "#007FFF",
    "blackContrast": 5.48,
    "whiteContrast": 3.83,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "background",
    "hex": "#7F00FF",
    "name": "#7F00FF",
    "blackContrast": 3.35,
    "whiteContrast": 6.28,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
]
Semantic groups
[
  "blue palette",
  "generated palette",
  "yellow palette",
  "purple palette",
  "gray palette",
  "vibrant palette",
  "light palette",
  "neutral palette",
  "cool palette",
  "warm palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "calm digital interfaces"
]
CSS variables
"--palette-blue-primary: #0000FF;\n--palette-blue-secondary: #FFFF00;\n--palette-blue-surface: #007FFF;\n--palette-blue-background: #7F00FF;\n--palette-blue-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "blue",
  "name": "Blue Palette",
  "type": "generated",
  "sourceColor": "blue",
  "description": "Generated palette built from Blue, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Blue Palette combines primary #0000FF, secondary #FFFF00, surface #007FFF, background #7F00FF, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a yellow palette, purple palette, gray palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.",
  "semanticGroups": [
    "blue palette",
    "generated palette",
    "yellow palette",
    "purple palette",
    "gray palette",
    "vibrant palette",
    "light palette",
    "neutral palette",
    "cool palette",
    "warm palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#0000FF",
      "slug": "blue",
      "name": "Blue",
      "rgb": [
        0,
        0,
        255
      ],
      "hsl": [
        240,
        100,
        50
      ],
      "cmyk": [
        100,
        100,
        0,
        0
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.0722,
      "contrast": {
        "black": 2.44,
        "white": 8.59
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/blue/"
    },
    {
      "role": "secondary",
      "hex": "#FFFF00",
      "slug": "yellow",
      "name": "Yellow",
      "rgb": [
        255,
        255,
        0
      ],
      "hsl": [
        60,
        100,
        50
      ],
      "cmyk": [
        0,
        0,
        100,
        0
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.9278,
      "contrast": {
        "black": 19.56,
        "white": 1.07
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/yellow/"
    },
    {
      "role": "surface",
      "hex": "#007FFF",
      "slug": null,
      "name": "#007FFF",
      "rgb": [
        0,
        127,
        255
      ],
      "hsl": [
        210,
        100,
        50
      ],
      "cmyk": [
        100,
        50,
        0,
        0
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.224,
      "contrast": {
        "black": 5.48,
        "white": 3.83
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/hex/007fff/"
    },
    {
      "role": "background",
      "hex": "#7F00FF",
      "slug": null,
      "name": "#7F00FF",
      "rgb": [
        127,
        0,
        255
      ],
      "hsl": [
        270,
        100,
        50
      ],
      "cmyk": [
        50,
        100,
        0,
        0
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.1173,
      "contrast": {
        "black": 3.35,
        "white": 6.28
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/hex/7f00ff/"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "slug": "white",
      "name": "White",
      "rgb": [
        255,
        255,
        255
      ],
      "hsl": [
        0,
        0,
        100
      ],
      "cmyk": [
        0,
        0,
        0,
        0
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "light",
        "neutral"
      ],
      "luminance": 1,
      "contrast": {
        "black": 21,
        "white": 1
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/white/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#0000FF",
      "name": "Blue"
    },
    {
      "role": "secondary",
      "hex": "#FFFF00",
      "name": "Yellow"
    },
    {
      "role": "surface",
      "hex": "#007FFF",
      "name": "#007FFF"
    },
    {
      "role": "background",
      "hex": "#7F00FF",
      "name": "#7F00FF"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#0000FF",
      "name": "Blue",
      "blackContrast": 2.44,
      "whiteContrast": 8.59,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#FFFF00",
      "name": "Yellow",
      "blackContrast": 19.56,
      "whiteContrast": 1.07,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "surface",
      "hex": "#007FFF",
      "name": "#007FFF",
      "blackContrast": 5.48,
      "whiteContrast": 3.83,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "background",
      "hex": "#7F00FF",
      "name": "#7F00FF",
      "blackContrast": 3.35,
      "whiteContrast": 6.28,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    }
  ],
  "cssVariables": "--palette-blue-primary: #0000FF;\n--palette-blue-secondary: #FFFF00;\n--palette-blue-surface: #007FFF;\n--palette-blue-background: #7F00FF;\n--palette-blue-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/blue.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/blue.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/blue/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/blue.json"
}