#2D4F78

Closest named color: Light Navy (#155084). oklch(42.2% 0.08 254.1), rgb(45, 79, 120).

Aa

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

About this color

#2D4F78 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.080 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.026 away. White text reads best on it, at 8.39:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.50:1
White text8.39:1

Values

HEX#2D4F78
RGBrgb(45, 79, 120)
HSLhsl(213, 45%, 32%)
OKLCHoklch(42.2% 0.08 254.1)

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 #2D4F78 8.39:1 AAA Lc -93.4 Preferred for body text
Black text on #2D4F78 2.50:1 Fails Lc 15.2 Dividers and decoration only
#2D4F78 text on white 8.39:1 AAA Lc 88.8 Fine for body text
#2D4F78 text on black 2.50:1 Fails Lc -13.4 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 800.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EBF3

    oklch(93.7% 0.013 251.6)

  3. Step 200

    200

    #CEDAEA

    oklch(88.4% 0.026 255.6)

  4. Step 300

    300

    #ADC3DF

    oklch(81% 0.046 254.5)

  5. Step 400

    400

    #81A3CF

    oklch(70.7% 0.075 255.1)

  6. Step 500

    500

    #608CC2

    oklch(63.1% 0.095 254.1)

  7. Step 600

    600

    #4675AE

    oklch(55.5% 0.103 254.2)

  8. Step 700

    700

    #386296

    oklch(49% 0.096 254.7)

  9. Step 800

    800 (this color)

    #2D4F78

    oklch(42.2% 0.08 254.1)

  10. Step 900

    900

    #2A4362

    oklch(37.8% 0.062 254.4)

  11. Step 950

    950

    #192739

    oklch(26.9% 0.039 255.1)

Export this scale for Tailwind in the Tailwind colors tool

#2D4F78 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)#3E517A0.023
Deuteranopia (no green cones)#344A770.016
Tritanopia (no blue cones)#00585E0.066
Achromatopsia (no color)#4D4D4D0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D4F78

    #2D4F78

    oklch(42.2% 0.08 254.1)

  • #674612

    #674612

    oklch(42.1% 0.079 74)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D4F78

    #2D4F78

    oklch(42.2% 0.08 254.1)

  • #00566D

    #00566D

    oklch(42.1% 0.079 223.9)

  • #494777

    #494777

    oklch(42.2% 0.079 284.4)

Open the analogous palette in the generator

Split complementary

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

  • #2D4F78

    #2D4F78

    oklch(42.2% 0.08 254.1)

  • #713E27

    #713E27

    oklch(42.2% 0.08 44.3)

  • #554F12

    #554F12

    oklch(42.1% 0.079 103.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D4F78

    #2D4F78

    oklch(42.2% 0.08 254.1)

  • #723A40

    #723A40

    oklch(42.1% 0.079 14.3)

  • #3B5728

    #3B5728

    oklch(42.2% 0.08 134)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D4F78

    #2D4F78

    oklch(42.2% 0.08 254.1)

  • #6C3B58

    #6C3B58

    oklch(42.3% 0.079 344.6)

  • #674612

    #674612

    oklch(42.1% 0.079 74)

  • #165B42

    #165B42

    oklch(42.2% 0.079 164.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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