#08334E

Closest named color: Prussian Blue (#1D3557). oklch(30.8% 0.066 242), rgb(8, 51, 78).

Aa

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

About this color

#08334E is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.066 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.027 away. White text reads best on it, at 13.17:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.066)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.59:1
White text13.17:1

Values

HEX#08334E
RGBrgb(8, 51, 78)
HSLhsl(203, 81%, 17%)
OKLCHoklch(30.8% 0.066 242)

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 #08334E 13.17:1 AAA Lc -102.5 Preferred for body text
Black text on #08334E 1.59:1 Fails Lc 0.0 Not readable
#08334E text on white 13.17:1 AAA Lc 99.2 Preferred for body text
#08334E text on black 1.59: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

    #DDECF8

    oklch(93.5% 0.023 241.9)

  3. Step 200

    200

    #C1DDF4

    oklch(88.4% 0.044 243)

  4. Step 300

    300

    #94C7EF

    oklch(80.8% 0.078 242.5)

  5. Step 400

    400

    #50A9E8

    oklch(70.7% 0.126 242.3)

  6. Step 500

    500

    #0092DB

    oklch(63.2% 0.149 241.7)

  7. Step 600

    600

    #007AB9

    oklch(55.5% 0.132 242.1)

  8. Step 700

    700

    #00679C

    oklch(49.2% 0.116 241.5)

  9. Step 800

    800

    #005481

    oklch(42.7% 0.101 241.9)

  10. Step 900

    900

    #00466D

    oklch(37.8% 0.09 242.2)

  11. Step 950

    950 (this color)

    #08334E

    oklch(30.8% 0.066 242)

Export this scale for Tailwind in the Tailwind colors tool

#08334E 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)#26344F0.031
Deuteranopia (no green cones)#1D2D4E0.025
Tritanopia (no blue cones)#003A3D0.045
Achromatopsia (no color)#3030300.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #08334E

    #08334E

    oklch(30.8% 0.066 242)

  • #472705

    #472705

    oklch(30.8% 0.066 61.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08334E

    #08334E

    oklch(30.8% 0.066 242)

  • #00373F

    #00373F

    oklch(30.9% 0.053 210.4)

  • #242D51

    #242D51

    oklch(30.8% 0.066 271.5)

Open the analogous palette in the generator

Split complementary

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

  • #08334E

    #08334E

    oklch(30.8% 0.066 242)

  • #4C221A

    #4C221A

    oklch(30.9% 0.066 32.2)

  • #3B2E00

    #3B2E00

    oklch(30.7% 0.063 91.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08334E

    #08334E

    oklch(30.8% 0.066 242)

  • #4A202D

    #4A202D

    oklch(30.8% 0.066 2.1)

  • #2A3508

    #2A3508

    oklch(30.8% 0.067 122.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08334E

    #08334E

    oklch(30.8% 0.066 242)

  • #43223E

    #43223E

    oklch(30.8% 0.066 332.9)

  • #472705

    #472705

    oklch(30.8% 0.066 61.9)

  • #10391E

    #10391E

    oklch(30.8% 0.066 151.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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