#2F4878

Closest named color: Light Navy (#155084). oklch(40.6% 0.087 262.4), rgb(47, 72, 120).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.31:1
White text9.05:1

Values

HEX#2F4878
RGBrgb(47, 72, 120)
HSLhsl(219, 44%, 33%)
OKLCHoklch(40.6% 0.087 262.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 #2F4878 9.05:1 AAA Lc -95.1 Preferred for body text
Black text on #2F4878 2.31:1 Fails Lc 13.3 Not readable
#2F4878 text on white 9.05:1 AAA Lc 90.7 Preferred for body text
#2F4878 text on black 2.31: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

    #CFDAEC

    oklch(88.5% 0.028 260.3)

  4. Step 300

    300

    #AFC1E2

    oklch(80.8% 0.051 262.6)

  5. Step 400

    400

    #85A1D4

    oklch(70.7% 0.081 262.2)

  6. Step 500

    500

    #6789C8

    oklch(63.1% 0.103 262.1)

  7. Step 600

    600

    #4F72B5

    oklch(55.7% 0.112 262.4)

  8. Step 700

    700

    #3F5F9C

    oklch(49.1% 0.105 262.3)

  9. Step 800

    800 (this color)

    #2F4878

    oklch(40.6% 0.087 262.4)

  10. Step 900

    900

    #2E4165

    oklch(37.7% 0.067 262.4)

  11. Step 950

    950

    #1B263B

    oklch(26.9% 0.042 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#2F4878 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)#344C7A0.014
Deuteranopia (no green cones)#2A46770.009
Tritanopia (no blue cones)#00535A0.077
Achromatopsia (no color)#4949490.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4878

    #2F4878

    oklch(40.6% 0.087 262.4)

  • #5F4400

    #5F4400

    oklch(40.6% 0.083 82.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4878

    #2F4878

    oklch(40.6% 0.087 262.4)

  • #00506E

    #00506E

    oklch(40.5% 0.083 232.2)

  • #4B3F74

    #4B3F74

    oklch(40.6% 0.087 292.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F4878

    #2F4878

    oklch(40.6% 0.087 262.4)

  • #6D3A16

    #6D3A16

    oklch(40.6% 0.087 52.5)

  • #4A4E06

    #4A4E06

    oklch(40.7% 0.087 113.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4878

    #2F4878

    oklch(40.6% 0.087 262.4)

  • #713433

    #713433

    oklch(40.6% 0.087 22.6)

  • #2B5527

    #2B5527

    oklch(40.7% 0.087 142.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4878

    #2F4878

    oklch(40.6% 0.087 262.4)

  • #6C344E

    #6C344E

    oklch(40.7% 0.086 352.4)

  • #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 #2F4878, closest first.

Similar named colors

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

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