#2F3157

Closest named color: Prussian Blue (#1D3557). oklch(33.1% 0.067 279.8), rgb(47, 49, 87).

Aa

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

About this color

#2F3157 is a dark, muted blue. In OKLCH its lightness is 33%, its chroma 0.067 and its hue 280°. 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 12.36:1.

Hue familyBlues
Lightnessdark (33%)
Chromamuted (0.067)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.69:1
White text12.36:1

Values

HEX#2F3157
RGBrgb(47, 49, 87)
HSLhsl(237, 30%, 26%)
OKLCHoklch(33.1% 0.067 279.8)

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 #2F3157 12.36:1 AAA Lc -101.5 Preferred for body text
Black text on #2F3157 1.69:1 Fails Lc 0.0 Not readable
#2F3157 text on white 12.36:1 AAA Lc 98.1 Preferred for body text
#2F3157 text on black 1.69: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D5D8EC

    oklch(88.6% 0.028 279)

  4. Step 300

    300

    #B9BEE1

    oklch(80.9% 0.05 278.8)

  5. Step 400

    400

    #969CD2

    oklch(70.8% 0.079 279.3)

  6. Step 500

    500

    #7D82C6

    oklch(63% 0.102 279.8)

  7. Step 600

    600

    #676BB3

    oklch(55.7% 0.111 279.7)

  8. Step 700

    700

    #56599A

    oklch(49.2% 0.103 279.9)

  9. Step 800

    800

    #46497D

    oklch(42.8% 0.086 279.6)

  10. Step 900

    900 (this color)

    #2F3157

    oklch(33.1% 0.067 279.8)

  11. Step 950

    950

    #22243B

    oklch(27% 0.043 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F3157 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)#2336580.021
Deuteranopia (no green cones)#2133560.021
Tritanopia (no blue cones)#22393F0.060
Achromatopsia (no color)#3434340.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F3157

    #2F3157

    oklch(33.1% 0.067 279.8)

  • #3E3603

    #3E3603

    oklch(33.1% 0.066 99.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F3157

    #2F3157

    oklch(33.1% 0.067 279.8)

  • #173756

    #173756

    oklch(32.9% 0.067 249.9)

  • #402B4F

    #402B4F

    oklch(33.1% 0.067 310)

Open the analogous palette in the generator

Split complementary

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

  • #2F3157

    #2F3157

    oklch(33.1% 0.067 279.8)

  • #4B2E06

    #4B2E06

    oklch(33% 0.067 69.1)

  • #2A3C14

    #2A3C14

    oklch(33% 0.067 129.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F3157

    #2F3157

    oklch(33.1% 0.067 279.8)

  • #52281A

    #52281A

    oklch(33% 0.067 39)

  • #0D4029

    #0D4029

    oklch(33.1% 0.067 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F3157

    #2F3157

    oklch(33.1% 0.067 279.8)

  • #52262E

    #52262E

    oklch(33.2% 0.066 9.9)

  • #3E3603

    #3E3603

    oklch(33.1% 0.066 99.7)

  • #003F3C

    #003F3C

    oklch(33.2% 0.057 189.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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