#2D4870

Closest named color: Dark Grey Blue (#29465B). oklch(40% 0.076 258), rgb(45, 72, 112).

Aa

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

About this color

#2D4870 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.076 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.036 away. White text reads best on it, at 9.24:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.27:1
White text9.24:1

Values

HEX#2D4870
RGBrgb(45, 72, 112)
HSLhsl(216, 43%, 31%)
OKLCHoklch(40% 0.076 258)

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 #2D4870 9.24:1 AAA Lc -95.5 Preferred for body text
Black text on #2D4870 2.27:1 Fails Lc 12.8 Not readable
#2D4870 text on white 9.24:1 AAA Lc 91.2 Preferred for body text
#2D4870 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

    #E3EAF5

    oklch(93.5% 0.017 259.4)

  3. Step 200

    200

    #CDDAEE

    oklch(88.5% 0.031 258.9)

  4. Step 300

    300

    #AAC2E6

    oklch(80.8% 0.057 258.4)

  5. Step 400

    400

    #7DA2D9

    oklch(70.6% 0.091 258.1)

  6. Step 500

    500

    #5C8ACF

    oklch(63.1% 0.116 258.3)

  7. Step 600

    600

    #4273BC

    oklch(55.6% 0.126 258.2)

  8. Step 700

    700

    #3360A2

    oklch(49.1% 0.117 258)

  9. Step 800

    800

    #2B4F83

    oklch(42.8% 0.096 257.7)

  10. Step 900

    900 (this color)

    #2D4870

    oklch(40% 0.076 258)

  11. Step 950

    950

    #17273E

    oklch(27.1% 0.048 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#2D4870 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)#384B720.018
Deuteranopia (no green cones)#2F446F0.012
Tritanopia (no blue cones)#0051560.068
Achromatopsia (no color)#4747470.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D4870

    #2D4870

    oklch(40% 0.076 258)

  • #5E420E

    #5E420E

    oklch(40.1% 0.076 78)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D4870

    #2D4870

    oklch(40% 0.076 258)

  • #064F68

    #064F68

    oklch(40% 0.076 228.6)

  • #46406E

    #46406E

    oklch(39.9% 0.076 288.4)

Open the analogous palette in the generator

Split complementary

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

  • #2D4870

    #2D4870

    oklch(40% 0.076 258)

  • #683A21

    #683A21

    oklch(40% 0.075 48.1)

  • #4C4A12

    #4C4A12

    oklch(39.9% 0.075 107.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D4870

    #2D4870

    oklch(40% 0.076 258)

  • #6B3538

    #6B3538

    oklch(40% 0.077 17.7)

  • #325128

    #325128

    oklch(39.9% 0.075 138.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D4870

    #2D4870

    oklch(40% 0.076 258)

  • #65364F

    #65364F

    oklch(40.1% 0.075 347.9)

  • #5E420E

    #5E420E

    oklch(40.1% 0.076 78)

  • #0D5440

    #0D5440

    oklch(39.9% 0.075 168.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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