#08344E

Closest named color: Midnight Green (#073B4C). oklch(31.1% 0.065 240.5), rgb(8, 52, 78).

Aa

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

About this color

#08344E is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.065 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.025 away. White text reads best on it, at 13.03:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.065)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.61:1
White text13.03:1

Values

HEX#08344E
RGBrgb(8, 52, 78)
HSLhsl(202, 81%, 17%)
OKLCHoklch(31.1% 0.065 240.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 #08344E 13.03:1 AAA Lc -102.3 Preferred for body text
Black text on #08344E 1.61:1 Fails Lc 0.0 Not readable
#08344E text on white 13.03:1 AAA Lc 99.0 Preferred for body text
#08344E 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

    #F0F7FC

    oklch(97.2% 0.01 238.5)

  2. Step 100

    100

    #DDECF8

    oklch(93.5% 0.023 241.9)

  3. Step 200

    200

    #C1DEF3

    oklch(88.6% 0.042 239.5)

  4. Step 300

    300

    #93C8EE

    oklch(80.9% 0.077 240.1)

  5. Step 400

    400

    #4EAAE6

    oklch(70.8% 0.124 240.3)

  6. Step 500

    500

    #0092D8

    oklch(63% 0.146 240.6)

  7. Step 600

    600

    #007BB7

    oklch(55.7% 0.129 240.7)

  8. Step 700

    700

    #00679A

    oklch(49.1% 0.113 240.5)

  9. Step 800

    800

    #00547F

    oklch(42.6% 0.099 240.7)

  10. Step 900

    900

    #00466B

    oklch(37.7% 0.087 240.8)

  11. Step 950

    950 (this color)

    #08344E

    oklch(31.1% 0.065 240.5)

Export this scale for Tailwind in the Tailwind colors tool

#08344E 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)#28344F0.033
Deuteranopia (no green cones)#1E2E4E0.026
Tritanopia (no blue cones)#003A3D0.043
Achromatopsia (no color)#3131310.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #08344E

    #08344E

    oklch(31.1% 0.065 240.5)

  • #482707

    #482707

    oklch(31% 0.066 59.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08344E

    #08344E

    oklch(31.1% 0.065 240.5)

  • #003840

    #003840

    oklch(31.2% 0.054 210.2)

  • #242E51

    #242E51

    oklch(31.1% 0.064 270.3)

Open the analogous palette in the generator

Split complementary

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

  • #08344E

    #08344E

    oklch(31.1% 0.065 240.5)

  • #4C221C

    #4C221C

    oklch(31% 0.065 29.7)

  • #3D2F00

    #3D2F00

    oklch(31.2% 0.064 90.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08344E

    #08344E

    oklch(31.1% 0.065 240.5)

  • #4A212F

    #4A212F

    oklch(31% 0.065 359.9)

  • #2C3509

    #2C3509

    oklch(31% 0.065 120.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08344E

    #08344E

    oklch(31.1% 0.065 240.5)

  • #432340

    #432340

    oklch(31.1% 0.066 330.5)

  • #482707

    #482707

    oklch(31% 0.066 59.7)

  • #133A1E

    #133A1E

    oklch(31.2% 0.066 150.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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