#2F4472

Closest named color: Twilight Blue (#0A437A). oklch(39.3% 0.083 264.4), rgb(47, 68, 114).

Aa

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

About this color

#2F4472 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.083 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.034 away. White text reads best on it, at 9.58:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.19:1
White text9.58:1

Values

HEX#2F4472
RGBrgb(47, 68, 114)
HSLhsl(221, 42%, 32%)
OKLCHoklch(39.3% 0.083 264.4)

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 #2F4472 9.58:1 AAA Lc -96.3 Preferred for body text
Black text on #2F4472 2.19:1 Fails Lc 11.9 Not readable
#2F4472 text on white 9.58:1 AAA Lc 92.1 Preferred for body text
#2F4472 text on black 2.19:1 Fails Lc -10.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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CED9F1

    oklch(88.4% 0.035 266)

  4. Step 300

    300

    #ADC1EA

    oklch(81% 0.062 264.6)

  5. Step 400

    400

    #81A0DF

    oklch(70.7% 0.099 263.9)

  6. Step 500

    500

    #6287D6

    oklch(63.1% 0.127 264.1)

  7. Step 600

    600

    #4A6FC3

    oklch(55.6% 0.137 264.5)

  8. Step 700

    700

    #3B5CA9

    oklch(49% 0.129 264.6)

  9. Step 800

    800

    #314C89

    oklch(42.8% 0.106 264.4)

  10. Step 900

    900 (this color)

    #2F4472

    oklch(39.3% 0.083 264.4)

  11. Step 950

    950

    #192640

    oklch(27.1% 0.052 263.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F4472 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)#3148740.013
Deuteranopia (no green cones)#2942710.010
Tritanopia (no blue cones)#044E550.074
Achromatopsia (no color)#4545450.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4472

    #2F4472

    oklch(39.3% 0.083 264.4)

  • #5A4100

    #5A4100

    oklch(39.2% 0.081 83.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4472

    #2F4472

    oklch(39.3% 0.083 264.4)

  • #004C6B

    #004C6B

    oklch(39.3% 0.082 234.3)

  • #493C6D

    #493C6D

    oklch(39.3% 0.082 294.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F4472

    #2F4472

    oklch(39.3% 0.083 264.4)

  • #673814

    #673814

    oklch(39.3% 0.082 54.5)

  • #454A0A

    #454A0A

    oklch(39.2% 0.082 114.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4472

    #2F4472

    oklch(39.3% 0.083 264.4)

  • #6B322F

    #6B322F

    oklch(39.2% 0.082 24.6)

  • #265128

    #265128

    oklch(39.3% 0.083 144.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4472

    #2F4472

    oklch(39.3% 0.083 264.4)

  • #673148

    #673148

    oklch(39.2% 0.082 354.7)

  • #5A4100

    #5A4100

    oklch(39.2% 0.081 83.7)

  • #005243

    #005243

    oklch(39.2% 0.074 174.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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