#08336E

Closest named color: Marine Blue (#01386A). oklch(33.2% 0.112 258.2), rgb(8, 51, 110).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.70:1
White text12.28:1

Values

HEX#08336E
RGBrgb(8, 51, 110)
HSLhsl(215, 86%, 23%)
OKLCHoklch(33.2% 0.112 258.2)

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 #08336E 12.28:1 AAA Lc -101.0 Preferred for body text
Black text on #08336E 1.70:1 Fails Lc 0.0 Not readable
#08336E text on white 12.28:1 AAA Lc 97.5 Preferred for body text
#08336E text on black 1.70: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C7DBF9

    oklch(88.6% 0.047 258.4)

  4. Step 300

    300

    #9FC3F7

    oklch(81% 0.084 257.5)

  5. Step 400

    400

    #6AA1F4

    oklch(70.7% 0.136 258.4)

  6. Step 500

    500

    #4087EF

    oklch(63.1% 0.172 258.2)

  7. Step 600

    600

    #1D6EDE

    oklch(55.6% 0.187 258.3)

  8. Step 700

    700

    #0D5BC1

    oklch(49.1% 0.175 258.3)

  9. Step 800

    800

    #104B9C

    oklch(42.7% 0.145 258.2)

  10. Step 900

    900 (this color)

    #08336E

    oklch(33.2% 0.112 258.2)

  11. Step 950

    950

    #0E2648

    oklch(27% 0.07 257.6)

Export this scale for Tailwind in the Tailwind colors tool

#08336E 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)#0B3A700.021
Deuteranopia (no green cones)#00316D0.009
Tritanopia (no blue cones)#00414B0.084
Achromatopsia (no color)#3535350.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #08336E

    #08336E

    oklch(33.2% 0.112 258.2)

  • #493100

    #493100

    oklch(33.3% 0.069 78.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08336E

    #08336E

    oklch(33.2% 0.112 258.2)

  • #003C50

    #003C50

    oklch(33.3% 0.065 227.9)

  • #35286B

    #35286B

    oklch(33.2% 0.112 287.6)

Open the analogous palette in the generator

Split complementary

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

  • #08336E

    #08336E

    oklch(33.2% 0.112 258.2)

  • #592400

    #592400

    oklch(33.2% 0.09 48.5)

  • #3A3800

    #3A3800

    oklch(33.2% 0.071 107.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08336E

    #08336E

    oklch(33.2% 0.112 258.2)

  • #63131F

    #63131F

    oklch(33.2% 0.112 17.9)

  • #154100

    #154100

    oklch(33.1% 0.103 138.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08336E

    #08336E

    oklch(33.2% 0.112 258.2)

  • #5C1540

    #5C1540

    oklch(33.2% 0.113 347.8)

  • #493100

    #493100

    oklch(33.3% 0.069 78.9)

  • #00412F

    #00412F

    oklch(33.3% 0.068 167.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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