#08314D

Closest named color: Prussian Blue (#1D3557). oklch(30.2% 0.067 244), rgb(8, 49, 77).

Aa

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

About this color

#08314D is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.067 and its hue 244°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.030 away. White text reads best on it, at 13.48:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.067)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.55:1
White text13.48:1

Values

HEX#08314D
RGBrgb(8, 49, 77)
HSLhsl(204, 81%, 17%)
OKLCHoklch(30.2% 0.067 244)

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 #08314D 13.48:1 AAA Lc -102.9 Preferred for body text
Black text on #08314D 1.55:1 Fails Lc 0.0 Not readable
#08314D text on white 13.48:1 AAA Lc 99.7 Preferred for body text
#08314D text on black 1.55: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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DEECF8

    oklch(93.6% 0.022 243.8)

  3. Step 200

    200

    #C1DDF5

    oklch(88.5% 0.045 244.2)

  4. Step 300

    300

    #95C7F0

    oklch(80.9% 0.078 243.7)

  5. Step 400

    400

    #53A8E9

    oklch(70.6% 0.126 244.1)

  6. Step 500

    500

    #0091E0

    oklch(63.2% 0.156 243.9)

  7. Step 600

    600

    #0079BD

    oklch(55.5% 0.138 244.2)

  8. Step 700

    700

    #0066A0

    oklch(49.2% 0.121 244)

  9. Step 800

    800

    #005384

    oklch(42.6% 0.106 244.3)

  10. Step 900

    900

    #00456F

    oklch(37.6% 0.093 244.3)

  11. Step 950

    950 (this color)

    #08314D

    oklch(30.2% 0.067 244)

Export this scale for Tailwind in the Tailwind colors tool

#08314D 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)#24324E0.029
Deuteranopia (no green cones)#1A2C4C0.021
Tritanopia (no blue cones)#00383B0.047
Achromatopsia (no color)#2E2E2E0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #08314D

    #08314D

    oklch(30.2% 0.067 244)

  • #452601

    #452601

    oklch(30.3% 0.067 64.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08314D

    #08314D

    oklch(30.2% 0.067 244)

  • #00353E

    #00353E

    oklch(30.2% 0.053 212.8)

  • #242B4F

    #242B4F

    oklch(30.2% 0.066 273.5)

Open the analogous palette in the generator

Split complementary

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

  • #08314D

    #08314D

    oklch(30.2% 0.067 244)

  • #4A2017

    #4A2017

    oklch(30.2% 0.066 33.4)

  • #382D00

    #382D00

    oklch(30.1% 0.062 94.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08314D

    #08314D

    oklch(30.2% 0.067 244)

  • #491E2A

    #491E2A

    oklch(30.1% 0.067 4.4)

  • #273407

    #273407

    oklch(30.3% 0.068 124.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08314D

    #08314D

    oklch(30.2% 0.067 244)

  • #42203C

    #42203C

    oklch(30.2% 0.067 334)

  • #452601

    #452601

    oklch(30.3% 0.067 64.7)

  • #0B381E

    #0B381E

    oklch(30.3% 0.067 153.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08314D 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.