#2F5A8D

Closest named color: Light Navy Blue (#2E5A88). oklch(46.2% 0.096 254), rgb(47, 90, 141).

Aa

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

About this color

#2F5A8D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.096 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy Blue (#2E5A88), ΔE 0.008 away. White text reads best on it, at 7.07:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameLight Navy Blue (#2E5A88)
Black text2.96:1
White text7.07:1

Values

HEX#2F5A8D
RGBrgb(47, 90, 141)
HSLhsl(213, 50%, 37%)
OKLCHoklch(46.2% 0.096 254)

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 #2F5A8D 7.07:1 AAA Lc -89.3 Fine for body text
Black text on #2F5A8D 2.96:1 Fails Lc 19.7 Dividers and decoration only
#2F5A8D text on white 7.07:1 AAA Lc 84.3 Fine for body text
#2F5A8D text on black 2.96:1 Fails Lc -17.7 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 700.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EBF3

    oklch(93.7% 0.013 251.6)

  3. Step 200

    200

    #CEDAEA

    oklch(88.4% 0.026 255.6)

  4. Step 300

    300

    #ACC3DF

    oklch(80.9% 0.047 253.5)

  5. Step 400

    400

    #80A3CF

    oklch(70.6% 0.076 254.4)

  6. Step 500

    500

    #608CC2

    oklch(63.1% 0.095 254.1)

  7. Step 600

    600

    #4675AF

    oklch(55.5% 0.105 254.5)

  8. Step 700

    700 (this color)

    #2F5A8D

    oklch(46.2% 0.096 254)

  9. Step 800

    800

    #2E507A

    oklch(42.6% 0.081 254.6)

  10. Step 900

    900

    #294362

    oklch(37.7% 0.062 253.6)

  11. Step 950

    950

    #192739

    oklch(26.9% 0.039 255.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F5A8D 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)#445D8F0.026
Deuteranopia (no green cones)#37548C0.018
Tritanopia (no blue cones)#00666D0.077
Achromatopsia (no color)#5858580.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5A8D

    #2F5A8D

    oklch(46.2% 0.096 254)

  • #784F03

    #784F03

    oklch(46.2% 0.097 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5A8D

    #2F5A8D

    oklch(46.2% 0.096 254)

  • #00627C

    #00627C

    oklch(46.1% 0.087 224.1)

  • #53508C

    #53508C

    oklch(46.2% 0.096 284.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F5A8D

    #2F5A8D

    oklch(46.2% 0.096 254)

  • #844528

    #844528

    oklch(46.2% 0.096 44.3)

  • #625B03

    #625B03

    oklch(46.3% 0.097 104.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5A8D

    #2F5A8D

    oklch(46.2% 0.096 254)

  • #863F48

    #863F48

    oklch(46.2% 0.097 13.8)

  • #416428

    #416428

    oklch(46.2% 0.097 134)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5A8D

    #2F5A8D

    oklch(46.2% 0.096 254)

  • #7D4166

    #7D4166

    oklch(46.2% 0.096 343.7)

  • #784F03

    #784F03

    oklch(46.2% 0.097 74.2)

  • #06694A

    #06694A

    oklch(46.2% 0.096 164.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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