#2F3960

Closest named color: Prussian Blue (#1D3557). oklch(35.5% 0.069 271.6), rgb(47, 57, 96).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.069)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.87:1
White text11.19:1

Values

HEX#2F3960
RGBrgb(47, 57, 96)
HSLhsl(228, 34%, 28%)
OKLCHoklch(35.5% 0.069 271.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 #2F3960 11.19:1 AAA Lc -99.6 Preferred for body text
Black text on #2F3960 1.87:1 Fails Lc 8.1 Not readable
#2F3960 text on white 11.19:1 AAA Lc 95.8 Preferred for body text
#2F3960 text on black 1.87: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

    #E6E9F4

    oklch(93.5% 0.015 273.8)

  3. Step 200

    200

    #D2D9ED

    oklch(88.6% 0.029 270.4)

  4. Step 300

    300

    #B4BFE3

    oklch(80.8% 0.052 271.8)

  5. Step 400

    400

    #8E9ED5

    oklch(70.7% 0.083 271.6)

  6. Step 500

    500

    #7385CA

    oklch(63.1% 0.106 271.9)

  7. Step 600

    600

    #5B6EB7

    oklch(55.7% 0.116 271.2)

  8. Step 700

    700

    #4B5B9D

    oklch(49% 0.107 271.7)

  9. Step 800

    800

    #3E4B7F

    oklch(42.7% 0.088 271.6)

  10. Step 900

    900 (this color)

    #2F3960

    oklch(35.5% 0.069 271.6)

  11. Step 950

    950

    #1F253C

    oklch(27% 0.044 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F3960 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)#2A3D620.013
Deuteranopia (no green cones)#26395F0.013
Tritanopia (no blue cones)#1C41480.061
Achromatopsia (no color)#3B3B3B0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F3960

    #2F3960

    oklch(35.5% 0.069 271.6)

  • #493A05

    #493A05

    oklch(35.5% 0.069 91.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F3960

    #2F3960

    oklch(35.5% 0.069 271.6)

  • #14405D

    #14405D

    oklch(35.6% 0.069 241.6)

  • #42325A

    #42325A

    oklch(35.4% 0.07 301.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F3960

    #2F3960

    oklch(35.5% 0.069 271.6)

  • #553310

    #553310

    oklch(35.6% 0.069 62.7)

  • #364113

    #364113

    oklch(35.4% 0.069 121.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F3960

    #2F3960

    oklch(35.5% 0.069 271.6)

  • #5B2D24

    #5B2D24

    oklch(35.6% 0.07 32.3)

  • #1C4629

    #1C4629

    oklch(35.5% 0.069 151.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F3960

    #2F3960

    oklch(35.5% 0.069 271.6)

  • #592B39

    #592B39

    oklch(35.5% 0.07 1.9)

  • #493A05

    #493A05

    oklch(35.5% 0.069 91.5)

  • #00463E

    #00463E

    oklch(35.4% 0.063 182.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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