#15315C

Closest named color: Marine (#042E60). oklch(31.7% 0.084 258.8), rgb(21, 49, 92).

Aa

White text reads best on this color (12.91:1).

About this color

#15315C is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.084 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.019 away. White text reads best on it, at 12.91:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.62:1
White text12.91:1

Values

HEX#15315C
RGBrgb(21, 49, 92)
HSLhsl(216, 63%, 22%)
OKLCHoklch(31.7% 0.084 258.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #15315C 12.91:1 AAA Lc -102.2 Preferred for body text
Black text on #15315C 1.62:1 Fails Lc 0.0 Not readable
#15315C text on white 12.91:1 AAA Lc 98.9 Preferred for body text
#15315C text on black 1.62:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEBFE

    oklch(93.7% 0.029 259.6)

  3. Step 200

    200

    #C3DBFE

    oklch(88.5% 0.055 257.7)

  4. Step 300

    300

    #9BC2FF

    oklch(80.8% 0.097 259.2)

  5. Step 400

    400

    #63A0FF

    oklch(70.7% 0.154 259)

  6. Step 500

    500

    #3284FF

    oklch(63.1% 0.199 258.9)

  7. Step 600

    600

    #006AED

    oklch(55.6% 0.214 258.9)

  8. Step 700

    700

    #0059C9

    oklch(49.2% 0.189 258.8)

  9. Step 800

    800

    #0048A6

    oklch(42.6% 0.164 258.9)

  10. Step 900

    900

    #0A3D86

    oklch(37.6% 0.133 258.9)

  11. Step 950

    950 (this color)

    #15315C

    oklch(31.7% 0.084 258.8)

Export this scale for Tailwind in the Tailwind colors tool

#15315C with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1C355E0.016
Deuteranopia (no green cones)#0F2E5B0.012
Tritanopia (no blue cones)#003B420.066
Achromatopsia (no color)#3131310.084

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #15315C

    #15315C

    oklch(31.7% 0.084 258.8)

  • #442D00

    #442D00

    oklch(31.7% 0.066 78.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #15315C

    #15315C

    oklch(31.7% 0.084 258.8)

  • #00384B

    #00384B

    oklch(31.8% 0.062 228)

  • #32295A

    #32295A

    oklch(31.8% 0.085 289.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #15315C

    #15315C

    oklch(31.7% 0.084 258.8)

  • #532201

    #532201

    oklch(31.8% 0.084 48.9)

  • #353400

    #353400

    oklch(31.6% 0.068 108.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #15315C

    #15315C

    oklch(31.7% 0.084 258.8)

  • #551C21

    #551C21

    oklch(31.7% 0.085 18.2)

  • #193C0C

    #193C0C

    oklch(31.8% 0.085 138.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #15315C

    #15315C

    oklch(31.7% 0.084 258.8)

  • #501D39

    #501D39

    oklch(31.8% 0.084 348.9)

  • #442D00

    #442D00

    oklch(31.7% 0.066 78.2)

  • #003C2C

    #003C2C

    oklch(31.6% 0.064 168.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #15315C, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #15315C in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.