#08316F

Closest named color: Marine Blue (#01386A). oklch(32.8% 0.116 259.4), rgb(8, 49, 111).

Aa

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

About this color

#08316F is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.116 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.023 away. White text reads best on it, at 12.50:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.67:1
White text12.50:1

Values

HEX#08316F
RGBrgb(8, 49, 111)
HSLhsl(216, 87%, 23%)
OKLCHoklch(32.8% 0.116 259.4)

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 #08316F 12.50:1 AAA Lc -101.3 Preferred for body text
Black text on #08316F 1.67:1 Fails Lc 0.0 Not readable
#08316F text on white 12.50:1 AAA Lc 97.9 Preferred for body text
#08316F text on black 1.67: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 900.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C7DAFA

    oklch(88.4% 0.049 260.9)

  4. Step 300

    300

    #9FC2F9

    oklch(80.8% 0.087 259.3)

  5. Step 400

    400

    #6AA0F7

    oklch(70.6% 0.14 259.6)

  6. Step 500

    500

    #4186F3

    oklch(63.1% 0.178 259.3)

  7. Step 600

    600

    #1F6CE2

    oklch(55.6% 0.194 259.5)

  8. Step 700

    700

    #1159C4

    oklch(49% 0.181 259.5)

  9. Step 800

    800

    #124A9F

    oklch(42.8% 0.15 259.4)

  10. Step 900

    900 (this color)

    #08316F

    oklch(32.8% 0.116 259.4)

  11. Step 950

    950

    #0E254A

    oklch(26.9% 0.075 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#08316F 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)#0038710.020
Deuteranopia (no green cones)#002F6E0.009
Tritanopia (no blue cones)#00404B0.087
Achromatopsia (no color)#3434340.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #08316F

    #08316F

    oklch(32.8% 0.116 259.4)

  • #473000

    #473000

    oklch(32.8% 0.068 79.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08316F

    #08316F

    oklch(32.8% 0.116 259.4)

  • #003B4F

    #003B4F

    oklch(32.9% 0.064 228.2)

  • #36256B

    #36256B

    oklch(32.8% 0.116 289.6)

Open the analogous palette in the generator

Split complementary

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

  • #08316F

    #08316F

    oklch(32.8% 0.116 259.4)

  • #572400

    #572400

    oklch(32.8% 0.088 49.5)

  • #383700

    #383700

    oklch(32.7% 0.071 108.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08316F

    #08316F

    oklch(32.8% 0.116 259.4)

  • #630F1B

    #630F1B

    oklch(32.8% 0.116 19.5)

  • #104100

    #104100

    oklch(32.9% 0.105 139.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08316F

    #08316F

    oklch(32.8% 0.116 259.4)

  • #5D113E

    #5D113E

    oklch(32.9% 0.117 349.4)

  • #473000

    #473000

    oklch(32.8% 0.068 79.6)

  • #003F2F

    #003F2F

    oklch(32.7% 0.065 169.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08316F 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.