#2F517B

Closest named color: Light Navy (#155084). oklch(43% 0.081 254.6), rgb(47, 81, 123).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.58:1
White text8.12:1

Values

HEX#2F517B
RGBrgb(47, 81, 123)
HSLhsl(213, 45%, 33%)
OKLCHoklch(43% 0.081 254.6)

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 #2F517B 8.12:1 AAA Lc -92.6 Preferred for body text
Black text on #2F517B 2.58:1 Fails Lc 16.0 Dividers and decoration only
#2F517B text on white 8.12:1 AAA Lc 88.0 Fine for body text
#2F517B text on black 2.58:1 Fails Lc -14.2 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

    #E4EBF3

    oklch(93.7% 0.013 251.6)

  3. Step 200

    200

    #CEDAEB

    oklch(88.4% 0.027 257)

  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

    #608CC3

    oklch(63.1% 0.097 254.5)

  7. Step 600

    600

    #4675AF

    oklch(55.5% 0.105 254.5)

  8. Step 700

    700

    #376297

    oklch(49.1% 0.098 254.6)

  9. Step 800

    800 (this color)

    #2F517B

    oklch(43% 0.081 254.6)

  10. Step 900

    900

    #294362

    oklch(37.7% 0.062 253.6)

  11. Step 950

    950

    #19273A

    oklch(27% 0.041 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F517B 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)#3F547D0.023
Deuteranopia (no green cones)#354C7A0.015
Tritanopia (no blue cones)#005B600.069
Achromatopsia (no color)#4F4F4F0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F517B

    #2F517B

    oklch(43% 0.081 254.6)

  • #694813

    #694813

    oklch(42.8% 0.08 74.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F517B

    #2F517B

    oklch(43% 0.081 254.6)

  • #015871

    #015871

    oklch(42.9% 0.081 225.5)

  • #4B497A

    #4B497A

    oklch(43% 0.08 284.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F517B

    #2F517B

    oklch(43% 0.081 254.6)

  • #744028

    #744028

    oklch(43% 0.081 44.8)

  • #575213

    #575213

    oklch(43.1% 0.081 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F517B

    #2F517B

    oklch(43% 0.081 254.6)

  • #753C42

    #753C42

    oklch(43% 0.08 14.3)

  • #3C592A

    #3C592A

    oklch(42.9% 0.08 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F517B

    #2F517B

    oklch(43% 0.081 254.6)

  • #6E3C5A

    #6E3C5A

    oklch(42.8% 0.081 344.2)

  • #694813

    #694813

    oklch(42.8% 0.08 74.6)

  • #175D44

    #175D44

    oklch(42.9% 0.08 164.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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