#2F578F

Closest named color: Dusk Blue (#26538D). oklch(45.6% 0.103 257.1), rgb(47, 87, 143).

Aa

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

About this color

#2F578F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.103 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.016 away. White text reads best on it, at 7.28:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.88:1
White text7.28:1

Values

HEX#2F578F
RGBrgb(47, 87, 143)
HSLhsl(215, 51%, 37%)
OKLCHoklch(45.6% 0.103 257.1)

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 #2F578F 7.28:1 AAA Lc -90.0 Fine for body text
Black text on #2F578F 2.88:1 Fails Lc 18.9 Dividers and decoration only
#2F578F text on white 7.28:1 AAA Lc 85.1 Fine for body text
#2F578F text on black 2.88:1 Fails Lc -16.9 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EBF6

    oklch(93.7% 0.017 256.3)

  3. Step 200

    200

    #CCDAF0

    oklch(88.5% 0.034 259.4)

  4. Step 300

    300

    #A8C3E8

    oklch(81% 0.06 256.3)

  5. Step 400

    400

    #7AA3DC

    oklch(70.8% 0.095 256.7)

  6. Step 500

    500

    #578AD3

    oklch(63% 0.124 257.4)

  7. Step 600

    600

    #3C73C0

    oklch(55.6% 0.134 257.2)

  8. Step 700

    700

    #2E60A5

    oklch(49.1% 0.123 257.1)

  9. Step 800

    800 (this color)

    #2F578F

    oklch(45.6% 0.103 257.1)

  10. Step 900

    900

    #24426B

    oklch(37.7% 0.079 256.6)

  11. Step 950

    950

    #16273F

    oklch(27.1% 0.05 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F578F 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)#3E5B910.022
Deuteranopia (no green cones)#30528E0.014
Tritanopia (no blue cones)#00646C0.083
Achromatopsia (no color)#5656560.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F578F

    #2F578F

    oklch(45.6% 0.103 257.1)

  • #744F00

    #744F00

    oklch(45.7% 0.095 77.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F578F

    #2F578F

    oklch(45.6% 0.103 257.1)

  • #00607D

    #00607D

    oklch(45.6% 0.088 227.2)

  • #544C8D

    #544C8D

    oklch(45.6% 0.104 287.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F578F

    #2F578F

    oklch(45.6% 0.103 257.1)

  • #84421E

    #84421E

    oklch(45.6% 0.103 46.9)

  • #5D5A00

    #5D5A00

    oklch(45.6% 0.098 107.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F578F

    #2F578F

    oklch(45.6% 0.103 257.1)

  • #873C42

    #873C42

    oklch(45.7% 0.103 17.1)

  • #396426

    #396426

    oklch(45.7% 0.104 137.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F578F

    #2F578F

    oklch(45.6% 0.103 257.1)

  • #7F3D62

    #7F3D62

    oklch(45.7% 0.102 347.1)

  • #744F00

    #744F00

    oklch(45.7% 0.095 77.7)

  • #00674C

    #00674C

    oklch(45.6% 0.093 167.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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