#2F5784

Closest named color: Light Navy Blue (#2E5A88). oklch(44.9% 0.087 252.8), rgb(47, 87, 132).

Aa

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

About this color

#2F5784 is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.087 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy Blue (#2E5A88), ΔE 0.010 away. White text reads best on it, at 7.45:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameLight Navy Blue (#2E5A88)
Black text2.81:1
White text7.45:1

Values

HEX#2F5784
RGBrgb(47, 87, 132)
HSLhsl(212, 47%, 35%)
OKLCHoklch(44.9% 0.087 252.8)

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 #2F5784 7.45:1 AAA Lc -90.6 Preferred for body text
Black text on #2F5784 2.81:1 Fails Lc 18.3 Dividers and decoration only
#2F5784 text on white 7.45:1 AAA Lc 85.7 Fine for body text
#2F5784 text on black 2.81:1 Fails Lc -16.3 Dividers and decoration only

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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF4

    oklch(93.7% 0.015 251.2)

  3. Step 200

    200

    #CCDBEC

    oklch(88.5% 0.029 251.5)

  4. Step 300

    300

    #AAC3E1

    oklch(80.8% 0.051 253.1)

  5. Step 400

    400

    #7CA4D3

    oklch(70.7% 0.082 252.9)

  6. Step 500

    500

    #5A8DC7

    oklch(63.2% 0.104 252.6)

  7. Step 600

    600

    #3E76B3

    oklch(55.6% 0.112 252.2)

  8. Step 700

    700

    #30639A

    oklch(49.1% 0.104 252.2)

  9. Step 800

    800 (this color)

    #2F5784

    oklch(44.9% 0.087 252.8)

  10. Step 900

    900

    #264365

    oklch(37.7% 0.068 253.4)

  11. Step 950

    950

    #17273B

    oklch(26.9% 0.043 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F5784 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)#445A860.027
Deuteranopia (no green cones)#3851830.019
Tritanopia (no blue cones)#0061670.070
Achromatopsia (no color)#5555550.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5784

    #2F5784

    oklch(44.9% 0.087 252.8)

  • #724C12

    #724C12

    oklch(44.9% 0.087 72.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5784

    #2F5784

    oklch(44.9% 0.087 252.8)

  • #005F77

    #005F77

    oklch(45% 0.084 222.8)

  • #4E4E84

    #4E4E84

    oklch(44.9% 0.087 282.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F5784

    #2F5784

    oklch(44.9% 0.087 252.8)

  • #7D432C

    #7D432C

    oklch(44.9% 0.087 41.9)

  • #5E5710

    #5E5710

    oklch(45% 0.087 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5784

    #2F5784

    oklch(44.9% 0.087 252.8)

  • #7E3F47

    #7E3F47

    oklch(45% 0.087 13.2)

  • #425F2A

    #425F2A

    oklch(44.9% 0.086 132.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5784

    #2F5784

    oklch(44.9% 0.087 252.8)

  • #764062

    #764062

    oklch(44.9% 0.088 342.8)

  • #724C12

    #724C12

    oklch(44.9% 0.087 72.5)

  • #186447

    #186447

    oklch(45% 0.087 162.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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