Generated palette

Sapphire Palette

Sapphire Palette: #0F52BA, #B8740F, #0FA7B8, #200FB8. Check roles, contrast and CSS variables; open source-color links and JSON.

Sapphire Palette assigns primary #0F52BA, secondary #B8740F, surface #0FA7B8, background #200FB8, accent #FFFFFF. The set spans Blue, Orange, Cyan, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #200FB8 at 0.0411 to #FFFFFF at 1; black gives higher contrast on 3 of 5 values.

5colors
Blue palettedominant group
5use cases

Palette Color Roles

Sapphire Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#0F52BASapphire
Secondary#B8740F#B8740F
Surface#0FA7B8#0FA7B8
Background#200FB8#200FB8
Accent#FFFFFFWhite

CSS Variables

--palette-sapphire-primary: #0F52BA;
--palette-sapphire-secondary: #B8740F;
--palette-sapphire-surface: #0FA7B8;
--palette-sapphire-background: #200FB8;
--palette-sapphire-accent: #FFFFFF;

Accessibility Snapshot

Compare all 5 Sapphire Palette values against black and white text, with the stronger standard foreground identified for each role.

Primary#0F52BA
Black 2.94:1 · White 7.15:1
Best #FFFFFF
Secondary#B8740F
Black 5.54:1 · White 3.79:1
Best #000000
Surface#0FA7B8
Black 7.24:1 · White 2.9:1
Best #000000
Background#200FB8
Black 1.82:1 · White 11.53:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

Preview how the Sapphire Palette roles behave together across common interface components before copying the CSS variables.

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 Sapphire Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.0968
Black text2.94:1AA Fail
White text7.15: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": "#0F52BA",
    "name": "Sapphire"
  },
  {
    "role": "secondary",
    "hex": "#B8740F",
    "name": "#B8740F"
  },
  {
    "role": "surface",
    "hex": "#0FA7B8",
    "name": "#0FA7B8"
  },
  {
    "role": "background",
    "hex": "#200FB8",
    "name": "#200FB8"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#0F52BA",
    "name": "Sapphire",
    "blackContrast": 2.94,
    "whiteContrast": 7.15,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF"
    ]
  },
  {
    "role": "secondary",
    "hex": "#B8740F",
    "name": "#B8740F",
    "blackContrast": 5.54,
    "whiteContrast": 3.79,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "surface",
    "hex": "#0FA7B8",
    "name": "#0FA7B8",
    "blackContrast": 7.24,
    "whiteContrast": 2.9,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000"
    ]
  },
  {
    "role": "background",
    "hex": "#200FB8",
    "name": "#200FB8",
    "blackContrast": 1.82,
    "whiteContrast": 11.53,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
]
Semantic groups
[
  "sapphire palette",
  "generated palette",
  "blue palette",
  "orange palette",
  "cyan palette",
  "gray palette",
  "vibrant palette",
  "jewel tone 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-sapphire-primary: #0F52BA;\n--palette-sapphire-secondary: #B8740F;\n--palette-sapphire-surface: #0FA7B8;\n--palette-sapphire-background: #200FB8;\n--palette-sapphire-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "sapphire",
  "name": "Sapphire Palette",
  "type": "generated",
  "sourceColor": "sapphire",
  "description": "Generated palette built from Sapphire, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Sapphire Palette combines primary #0F52BA, secondary #B8740F, surface #0FA7B8, background #200FB8, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a blue palette, orange palette, cyan 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": [
    "sapphire palette",
    "generated palette",
    "blue palette",
    "orange palette",
    "cyan palette",
    "gray palette",
    "vibrant palette",
    "jewel tone 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": "#0F52BA",
      "slug": "sapphire",
      "name": "Sapphire",
      "rgb": [
        15,
        82,
        186
      ],
      "hsl": [
        216,
        85,
        39
      ],
      "cmyk": [
        92,
        56,
        0,
        27
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "vibrant",
        "jewel-tone"
      ],
      "luminance": 0.0968,
      "contrast": {
        "black": 2.94,
        "white": 7.15
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/sapphire/"
    },
    {
      "role": "secondary",
      "hex": "#B8740F",
      "slug": null,
      "name": "#B8740F",
      "rgb": [
        184,
        116,
        15
      ],
      "hsl": [
        36,
        85,
        39
      ],
      "cmyk": [
        0,
        37,
        92,
        28
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.2272,
      "contrast": {
        "black": 5.54,
        "white": 3.79
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#0FA7B8",
      "slug": null,
      "name": "#0FA7B8",
      "rgb": [
        15,
        167,
        184
      ],
      "hsl": [
        186,
        85,
        39
      ],
      "cmyk": [
        92,
        9,
        0,
        28
      ],
      "family": "cyan",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.312,
      "contrast": {
        "black": 7.24,
        "white": 2.9
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#200FB8",
      "slug": null,
      "name": "#200FB8",
      "rgb": [
        32,
        15,
        184
      ],
      "hsl": [
        246,
        85,
        39
      ],
      "cmyk": [
        83,
        92,
        0,
        28
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "vibrant",
        "jewel-tone"
      ],
      "luminance": 0.0411,
      "contrast": {
        "black": 1.82,
        "white": 11.53
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    },
    {
      "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": "#0F52BA",
      "name": "Sapphire"
    },
    {
      "role": "secondary",
      "hex": "#B8740F",
      "name": "#B8740F"
    },
    {
      "role": "surface",
      "hex": "#0FA7B8",
      "name": "#0FA7B8"
    },
    {
      "role": "background",
      "hex": "#200FB8",
      "name": "#200FB8"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#0F52BA",
      "name": "Sapphire",
      "blackContrast": 2.94,
      "whiteContrast": 7.15,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF"
      ]
    },
    {
      "role": "secondary",
      "hex": "#B8740F",
      "name": "#B8740F",
      "blackContrast": 5.54,
      "whiteContrast": 3.79,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "surface",
      "hex": "#0FA7B8",
      "name": "#0FA7B8",
      "blackContrast": 7.24,
      "whiteContrast": 2.9,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000"
      ]
    },
    {
      "role": "background",
      "hex": "#200FB8",
      "name": "#200FB8",
      "blackContrast": 1.82,
      "whiteContrast": 11.53,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    }
  ],
  "cssVariables": "--palette-sapphire-primary: #0F52BA;\n--palette-sapphire-secondary: #B8740F;\n--palette-sapphire-surface: #0FA7B8;\n--palette-sapphire-background: #200FB8;\n--palette-sapphire-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/sapphire.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/sapphire.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/sapphire/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/sapphire.json"
}