#2D4872

Closest named color: Light Navy (#155084). oklch(40.1% 0.079 258.9), rgb(45, 72, 114).

Aa

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

About this color

#2D4872 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.079 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.037 away. White text reads best on it, at 9.20:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.28:1
White text9.20:1

Values

HEX#2D4872
RGBrgb(45, 72, 114)
HSLhsl(217, 43%, 31%)
OKLCHoklch(40.1% 0.079 258.9)

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 #2D4872 9.20:1 AAA Lc -95.4 Preferred for body text
Black text on #2D4872 2.28:1 Fails Lc 12.9 Not readable
#2D4872 text on white 9.20:1 AAA Lc 91.1 Preferred for body text
#2D4872 text on black 2.28:1 Fails Lc -11.3 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CCDAEF

    oklch(88.4% 0.033 258.4)

  4. Step 300

    300

    #AAC2E7

    oklch(80.9% 0.059 259)

  5. Step 400

    400

    #7DA2DB

    oklch(70.7% 0.093 258.8)

  6. Step 500

    500

    #5B8AD2

    oklch(63.2% 0.121 258.7)

  7. Step 600

    600

    #4172BF

    oklch(55.6% 0.131 259.1)

  8. Step 700

    700

    #335FA5

    oklch(49% 0.123 259.3)

  9. Step 800

    800

    #2B4E85

    oklch(42.6% 0.1 259.1)

  10. Step 900

    900 (this color)

    #2D4872

    oklch(40.1% 0.079 258.9)

  11. Step 950

    950

    #17273F

    oklch(27.2% 0.05 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#2D4872 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)#374B740.017
Deuteranopia (no green cones)#2E45710.009
Tritanopia (no blue cones)#0051570.069
Achromatopsia (no color)#4848480.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D4872

    #2D4872

    oklch(40.1% 0.079 258.9)

  • #5F4209

    #5F4209

    oklch(40.2% 0.079 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D4872

    #2D4872

    oklch(40.1% 0.079 258.9)

  • #014F6A

    #014F6A

    oklch(40% 0.079 229.9)

  • #474070

    #474070

    oklch(40.1% 0.079 289)

Open the analogous palette in the generator

Split complementary

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

  • #2D4872

    #2D4872

    oklch(40.1% 0.079 258.9)

  • #693A1E

    #693A1E

    oklch(40.1% 0.078 49.8)

  • #4C4B0F

    #4C4B0F

    oklch(40.2% 0.078 108.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D4872

    #2D4872

    oklch(40.1% 0.079 258.9)

  • #6C3537

    #6C3537

    oklch(40.1% 0.078 18.9)

  • #315227

    #315227

    oklch(40.1% 0.079 138.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D4872

    #2D4872

    oklch(40.1% 0.079 258.9)

  • #67354F

    #67354F

    oklch(40.2% 0.079 348.8)

  • #5F4209

    #5F4209

    oklch(40.2% 0.079 78.3)

  • #045541

    #045541

    oklch(40% 0.078 169.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D4872 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.