#2C4872

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

Aa

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

About this color

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

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

Values

HEX#2C4872
RGBrgb(44, 72, 114)
HSLhsl(216, 44%, 31%)
OKLCHoklch(40.1% 0.079 258.3)

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 #2C4872 9.22:1 AAA Lc -95.5 Preferred for body text
Black text on #2C4872 2.27:1 Fails Lc 12.8 Not readable
#2C4872 text on white 9.22:1 AAA Lc 91.1 Preferred for body text
#2C4872 text on black 2.27:1 Fails Lc -11.2 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

    #A9C2E7

    oklch(80.8% 0.059 258.1)

  5. Step 400

    400

    #7CA2DC

    oklch(70.7% 0.095 258.6)

  6. Step 500

    500

    #5A8AD2

    oklch(63.1% 0.121 258.3)

  7. Step 600

    600

    #3F73BF

    oklch(55.7% 0.131 257.9)

  8. Step 700

    700

    #3160A5

    oklch(49.2% 0.122 258.1)

  9. Step 800

    800

    #294E86

    oklch(42.6% 0.103 258.5)

  10. Step 900

    900 (this color)

    #2C4872

    oklch(40.1% 0.079 258.3)

  11. Step 950

    950

    #17273F

    oklch(27.2% 0.05 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#2C4872 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.018
Deuteranopia (no green cones)#2D44710.012
Tritanopia (no blue cones)#0051570.068
Achromatopsia (no color)#4747470.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C4872

    #2C4872

    oklch(40.1% 0.079 258.3)

  • #5F4208

    #5F4208

    oklch(40.2% 0.079 78.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C4872

    #2C4872

    oklch(40.1% 0.079 258.3)

  • #004F69

    #004F69

    oklch(40% 0.079 228.7)

  • #464070

    #464070

    oklch(40% 0.08 288)

Open the analogous palette in the generator

Split complementary

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

  • #2C4872

    #2C4872

    oklch(40.1% 0.079 258.3)

  • #6A391E

    #6A391E

    oklch(40% 0.08 48)

  • #4C4B0D

    #4C4B0D

    oklch(40.1% 0.08 108.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C4872

    #2C4872

    oklch(40.1% 0.079 258.3)

  • #6C3537

    #6C3537

    oklch(40.1% 0.078 18.9)

  • #315226

    #315226

    oklch(40.1% 0.08 138.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C4872

    #2C4872

    oklch(40.1% 0.079 258.3)

  • #66354F

    #66354F

    oklch(40% 0.078 348.1)

  • #5F4208

    #5F4208

    oklch(40.2% 0.079 78.5)

  • #045540

    #045540

    oklch(40% 0.079 168.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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