#2F3757

Closest named color: Prussian Blue (#1D3557). oklch(34.5% 0.057 272.4), rgb(47, 55, 87).

Aa

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

About this color

#2F3757 is a dark, muted blue. In OKLCH its lightness is 34%, its chroma 0.057 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.026 away. White text reads best on it, at 11.63:1.

Hue familyBlues
Lightnessdark (34%)
Chromamuted (0.057)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.80:1
White text11.63:1

Values

HEX#2F3757
RGBrgb(47, 55, 87)
HSLhsl(228, 30%, 26%)
OKLCHoklch(34.5% 0.057 272.4)

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 #2F3757 11.63:1 AAA Lc -100.4 Preferred for body text
Black text on #2F3757 1.80:1 Fails Lc 0.0 Not readable
#2F3757 text on white 11.63:1 AAA Lc 96.7 Preferred for body text
#2F3757 text on black 1.80:1 Fails Lc 0.0 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 900.

  1. Step 50

    50

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7E9F2

    oklch(93.5% 0.012 276.1)

  3. Step 200

    200

    #D3D9E9

    oklch(88.6% 0.023 269.4)

  4. Step 300

    300

    #B7BFDD

    oklch(80.8% 0.043 273.6)

  5. Step 400

    400

    #929ECC

    oklch(70.6% 0.069 273.2)

  6. Step 500

    500

    #7786BF

    oklch(63.1% 0.088 272.4)

  7. Step 600

    600

    #606FAB

    oklch(55.6% 0.095 272.3)

  8. Step 700

    700

    #505D93

    oklch(49.2% 0.088 272.5)

  9. Step 800

    800

    #414C77

    oklch(42.7% 0.073 272.1)

  10. Step 900

    900 (this color)

    #2F3757

    oklch(34.5% 0.057 272.4)

  11. Step 950

    950

    #202538

    oklch(26.9% 0.036 272.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F3757 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)#2C3A580.010
Deuteranopia (no green cones)#2837560.010
Tritanopia (no blue cones)#223D430.049
Achromatopsia (no color)#3939390.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F3757

    #2F3757

    oklch(34.5% 0.057 272.4)

  • #443812

    #443812

    oklch(34.5% 0.057 91.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F3757

    #2F3757

    oklch(34.5% 0.057 272.4)

  • #1B3C54

    #1B3C54

    oklch(34.3% 0.057 242.5)

  • #3F3252

    #3F3252

    oklch(34.6% 0.057 302.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F3757

    #2F3757

    oklch(34.5% 0.057 272.4)

  • #4E3217

    #4E3217

    oklch(34.4% 0.057 62.9)

  • #343E1A

    #343E1A

    oklch(34.5% 0.058 122.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F3757

    #2F3757

    oklch(34.5% 0.057 272.4)

  • #532D26

    #532D26

    oklch(34.4% 0.058 31.3)

  • #20422A

    #20422A

    oklch(34.6% 0.058 151.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F3757

    #2F3757

    oklch(34.5% 0.057 272.4)

  • #522C37

    #522C37

    oklch(34.6% 0.058 2)

  • #443812

    #443812

    oklch(34.5% 0.057 91.5)

  • #09433C

    #09433C

    oklch(34.6% 0.057 182.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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