#08315E

Closest named color: Marine (#042E60). oklch(31.4% 0.091 254.5), rgb(8, 49, 94).

Aa

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

About this color

#08315E is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.091 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.011 away. White text reads best on it, at 13.03:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.61:1
White text13.03:1

Values

HEX#08315E
RGBrgb(8, 49, 94)
HSLhsl(211, 84%, 20%)
OKLCHoklch(31.4% 0.091 254.5)

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 #08315E 13.03:1 AAA Lc -102.2 Preferred for body text
Black text on #08315E 1.61:1 Fails Lc 0.0 Not readable
#08315E text on white 13.03:1 AAA Lc 98.9 Preferred for body text
#08315E text on black 1.61: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

    #EFF6FF

    oklch(97% 0.014 254.6)

  2. Step 100

    100

    #DCEBFF

    oklch(93.5% 0.032 255.6)

  3. Step 200

    200

    #C0DCFF

    oklch(88.5% 0.057 254.1)

  4. Step 300

    300

    #95C4FF

    oklch(80.9% 0.098 254.5)

  5. Step 400

    400

    #56A3FF

    oklch(70.8% 0.155 254.3)

  6. Step 500

    500

    #0687FF

    oklch(63% 0.202 254.6)

  7. Step 600

    600

    #0071D9

    oklch(55.6% 0.181 254.6)

  8. Step 700

    700

    #005FB7

    oklch(49.1% 0.158 254.4)

  9. Step 800

    800

    #004E98

    oklch(42.8% 0.138 254.3)

  10. Step 900

    900

    #004080

    oklch(37.6% 0.123 254.7)

  11. Step 950

    950 (this color)

    #08315E

    oklch(31.4% 0.091 254.5)

Export this scale for Tailwind in the Tailwind colors tool

#08315E 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)#1935600.020
Deuteranopia (no green cones)#062D5D0.013
Tritanopia (no blue cones)#003C420.070
Achromatopsia (no color)#3131310.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #08315E

    #08315E

    oklch(31.4% 0.091 254.5)

  • #452B00

    #452B00

    oklch(31.3% 0.067 73.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08315E

    #08315E

    oklch(31.4% 0.091 254.5)

  • #003748

    #003748

    oklch(31.4% 0.06 225.5)

  • #2E285D

    #2E285D

    oklch(31.4% 0.091 285)

Open the analogous palette in the generator

Split complementary

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

  • #08315E

    #08315E

    oklch(31.4% 0.091 254.5)

  • #551E00

    #551E00

    oklch(31.5% 0.091 44.6)

  • #373300

    #373300

    oklch(31.5% 0.067 104.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08315E

    #08315E

    oklch(31.4% 0.091 254.5)

  • #561822

    #561822

    oklch(31.3% 0.091 14.7)

  • #1B3B00

    #1B3B00

    oklch(31.5% 0.092 134.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08315E

    #08315E

    oklch(31.4% 0.091 254.5)

  • #501A3C

    #501A3C

    oklch(31.5% 0.092 344.9)

  • #452B00

    #452B00

    oklch(31.3% 0.067 73.7)

  • #003C28

    #003C28

    oklch(31.5% 0.067 163.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08315E 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.