#2F3858

Closest named color: Prussian Blue (#1D3557). oklch(34.8% 0.057 271.2), rgb(47, 56, 88).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.057)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.82:1
White text11.49:1

Values

HEX#2F3858
RGBrgb(47, 56, 88)
HSLhsl(227, 30%, 26%)
OKLCHoklch(34.8% 0.057 271.2)

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 #2F3858 11.49:1 AAA Lc -100.1 Preferred for body text
Black text on #2F3858 1.82:1 Fails Lc 7.5 Not readable
#2F3858 text on white 11.49:1 AAA Lc 96.4 Preferred for body text
#2F3858 text on black 1.82: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

    #E7EAF2

    oklch(93.7% 0.011 269.5)

  3. Step 200

    200

    #D3D9EA

    oklch(88.6% 0.024 270.3)

  4. Step 300

    300

    #B6C0DD

    oklch(80.9% 0.042 270.4)

  5. Step 400

    400

    #919FCC

    oklch(70.8% 0.068 271.2)

  6. Step 500

    500

    #7686BF

    oklch(63% 0.088 271.7)

  7. Step 600

    600

    #5F6FAC

    oklch(55.5% 0.097 271.8)

  8. Step 700

    700

    #4E5D93

    oklch(49% 0.089 271.1)

  9. Step 800

    800

    #404C77

    oklch(42.6% 0.073 271.2)

  10. Step 900

    900 (this color)

    #2F3858

    oklch(34.8% 0.057 271.2)

  11. Step 950

    950

    #202538

    oklch(26.9% 0.036 272.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F3858 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)#2D3B590.009
Deuteranopia (no green cones)#2938570.009
Tritanopia (no blue cones)#213F440.052
Achromatopsia (no color)#3939390.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F3858

    #2F3858

    oklch(34.8% 0.057 271.2)

  • #453912

    #453912

    oklch(34.9% 0.058 91.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F3858

    #2F3858

    oklch(34.8% 0.057 271.2)

  • #1B3D55

    #1B3D55

    oklch(34.6% 0.058 241.8)

  • #3F3353

    #3F3353

    oklch(34.9% 0.056 300.8)

Open the analogous palette in the generator

Split complementary

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

  • #2F3858

    #2F3858

    oklch(34.8% 0.057 271.2)

  • #4F3318

    #4F3318

    oklch(34.8% 0.057 63)

  • #353F1B

    #353F1B

    oklch(34.9% 0.058 122.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F3858

    #2F3858

    oklch(34.8% 0.057 271.2)

  • #542E27

    #542E27

    oklch(34.8% 0.058 31.3)

  • #21422A

    #21422A

    oklch(34.6% 0.057 151.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F3858

    #2F3858

    oklch(34.8% 0.057 271.2)

  • #522D38

    #522D38

    oklch(34.8% 0.056 1.3)

  • #453912

    #453912

    oklch(34.9% 0.058 91.9)

  • #0B443C

    #0B443C

    oklch(34.9% 0.058 181)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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