#2F517D

Closest named color: Light Navy (#155084). oklch(43.1% 0.084 255.5), rgb(47, 81, 125).

Aa

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

About this color

#2F517D is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.084 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.024 away. White text reads best on it, at 8.09:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.59:1
White text8.09:1

Values

HEX#2F517D
RGBrgb(47, 81, 125)
HSLhsl(214, 45%, 34%)
OKLCHoklch(43.1% 0.084 255.5)

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 #2F517D 8.09:1 AAA Lc -92.5 Preferred for body text
Black text on #2F517D 2.59:1 Fails Lc 16.1 Dividers and decoration only
#2F517D text on white 8.09:1 AAA Lc 87.9 Fine for body text
#2F517D text on black 2.59:1 Fails Lc -14.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 800.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CEDAEB

    oklch(88.4% 0.027 257)

  4. Step 300

    300

    #ACC3E0

    oklch(80.9% 0.048 254.3)

  5. Step 400

    400

    #80A3D1

    oklch(70.7% 0.078 255.5)

  6. Step 500

    500

    #608CC5

    oklch(63.2% 0.099 255.3)

  7. Step 600

    600

    #4675B2

    oklch(55.7% 0.109 255.6)

  8. Step 700

    700

    #376299

    oklch(49.2% 0.101 255.4)

  9. Step 800

    800 (this color)

    #2F517D

    oklch(43.1% 0.084 255.5)

  10. Step 900

    900

    #294364

    oklch(37.8% 0.065 255)

  11. Step 950

    950

    #18273A

    oklch(26.9% 0.041 254.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F517D 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)#3E547F0.021
Deuteranopia (no green cones)#344C7C0.015
Tritanopia (no blue cones)#005B610.070
Achromatopsia (no color)#5050500.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F517D

    #2F517D

    oklch(43.1% 0.084 255.5)

  • #6A480E

    #6A480E

    oklch(42.9% 0.084 75.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F517D

    #2F517D

    oklch(43.1% 0.084 255.5)

  • #005972

    #005972

    oklch(43.2% 0.082 225.2)

  • #4C487C

    #4C487C

    oklch(43% 0.085 285.8)

Open the analogous palette in the generator

Split complementary

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

  • #2F517D

    #2F517D

    oklch(43.1% 0.084 255.5)

  • #754026

    #754026

    oklch(43.1% 0.083 45.9)

  • #575210

    #575210

    oklch(43% 0.083 104.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F517D

    #2F517D

    oklch(43.1% 0.084 255.5)

  • #773B41

    #773B41

    oklch(43.1% 0.084 14.9)

  • #3B5A29

    #3B5A29

    oklch(43.1% 0.083 135.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F517D

    #2F517D

    oklch(43.1% 0.084 255.5)

  • #703C5A

    #703C5A

    oklch(43.1% 0.083 345.5)

  • #6A480E

    #6A480E

    oklch(42.9% 0.084 75.1)

  • #105E45

    #105E45

    oklch(43% 0.083 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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