#2F4879

Closest named color: Light Navy (#155084). oklch(40.7% 0.088 262.7), rgb(47, 72, 121).

Aa

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

About this color

#2F4879 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.088 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.031 away. White text reads best on it, at 9.03:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.32:1
White text9.03:1

Values

HEX#2F4879
RGBrgb(47, 72, 121)
HSLhsl(220, 44%, 33%)
OKLCHoklch(40.7% 0.088 262.7)

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 #2F4879 9.03:1 AAA Lc -95.0 Preferred for body text
Black text on #2F4879 2.32:1 Fails Lc 13.4 Not readable
#2F4879 text on white 9.03:1 AAA Lc 90.6 Preferred for body text
#2F4879 text on black 2.32:1 Fails Lc -11.7 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #CFDAED

    oklch(88.6% 0.029 261.5)

  4. Step 300

    300

    #AFC1E3

    oklch(80.9% 0.052 263.1)

  5. Step 400

    400

    #85A1D5

    oklch(70.7% 0.083 262.5)

  6. Step 500

    500

    #6789C9

    oklch(63.2% 0.104 262.4)

  7. Step 600

    600

    #4E72B6

    oklch(55.7% 0.114 262.2)

  8. Step 700

    700

    #3F5F9D

    oklch(49.1% 0.107 262.5)

  9. Step 800

    800 (this color)

    #2F4879

    oklch(40.7% 0.088 262.7)

  10. Step 900

    900

    #2E4166

    oklch(37.7% 0.068 262.8)

  11. Step 950

    950

    #1B263C

    oklch(27% 0.044 263.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F4879 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)#334C7B0.014
Deuteranopia (no green cones)#2946780.010
Tritanopia (no blue cones)#00535A0.078
Achromatopsia (no color)#4949490.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4879

    #2F4879

    oklch(40.7% 0.088 262.7)

  • #5F4400

    #5F4400

    oklch(40.6% 0.083 82.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4879

    #2F4879

    oklch(40.7% 0.088 262.7)

  • #00506F

    #00506F

    oklch(40.6% 0.084 233.1)

  • #4B3F75

    #4B3F75

    oklch(40.6% 0.089 292.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F4879

    #2F4879

    oklch(40.7% 0.088 262.7)

  • #6E3A15

    #6E3A15

    oklch(40.7% 0.088 52.5)

  • #4A4E04

    #4A4E04

    oklch(40.7% 0.089 113.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4879

    #2F4879

    oklch(40.7% 0.088 262.7)

  • #723433

    #723433

    oklch(40.8% 0.088 22.7)

  • #2A5527

    #2A5527

    oklch(40.6% 0.088 142.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4879

    #2F4879

    oklch(40.7% 0.088 262.7)

  • #6D334E

    #6D334E

    oklch(40.7% 0.089 352.5)

  • #5F4400

    #5F4400

    oklch(40.6% 0.083 82.8)

  • #005745

    #005745

    oklch(40.7% 0.079 172.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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