#2F3760

Closest named color: Prussian Blue (#1D3557). oklch(35.1% 0.072 273.8), rgb(47, 55, 96).

Aa

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

About this color

#2F3760 is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.072 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.031 away. White text reads best on it, at 11.43:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.83:1
White text11.43:1

Values

HEX#2F3760
RGBrgb(47, 55, 96)
HSLhsl(230, 34%, 28%)
OKLCHoklch(35.1% 0.072 273.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 #2F3760 11.43:1 AAA Lc -100.0 Preferred for body text
Black text on #2F3760 1.83:1 Fails Lc 7.6 Not readable
#2F3760 text on white 11.43:1 AAA Lc 96.3 Preferred for body text
#2F3760 text on black 1.83: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

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D2D8EE

    oklch(88.4% 0.031 273.6)

  4. Step 300

    300

    #B5BFE4

    oklch(80.9% 0.053 273.3)

  5. Step 400

    400

    #8F9DD7

    oklch(70.7% 0.087 273.5)

  6. Step 500

    500

    #7484CC

    oklch(63.1% 0.11 273.3)

  7. Step 600

    600

    #5E6CB9

    oklch(55.6% 0.12 274.1)

  8. Step 700

    700

    #4D5A9F

    oklch(49% 0.111 273.6)

  9. Step 800

    800

    #3F4A81

    oklch(42.7% 0.092 273.4)

  10. Step 900

    900 (this color)

    #2F3760

    oklch(35.1% 0.072 273.8)

  11. Step 950

    950

    #1F253D

    oklch(27.1% 0.046 272.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F3760 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)#273C620.017
Deuteranopia (no green cones)#23385F0.017
Tritanopia (no blue cones)#1C40460.066
Achromatopsia (no color)#3A3A3A0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F3760

    #2F3760

    oklch(35.1% 0.072 273.8)

  • #473900

    #473900

    oklch(34.9% 0.072 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F3760

    #2F3760

    oklch(35.1% 0.072 273.8)

  • #123E5D

    #123E5D

    oklch(35% 0.072 243.6)

  • #433059

    #433059

    oklch(35% 0.073 304.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F3760

    #2F3760

    oklch(35.1% 0.072 273.8)

  • #543109

    #543109

    oklch(34.9% 0.072 63.8)

  • #334111

    #334111

    oklch(35.2% 0.073 124)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F3760

    #2F3760

    oklch(35.1% 0.072 273.8)

  • #5A2B21

    #5A2B21

    oklch(35% 0.072 33.2)

  • #154529

    #154529

    oklch(34.9% 0.071 154.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F3760

    #2F3760

    oklch(35.1% 0.072 273.8)

  • #592936

    #592936

    oklch(35.1% 0.072 4.3)

  • #473900

    #473900

    oklch(34.9% 0.072 93.4)

  • #00453E

    #00453E

    oklch(35.1% 0.062 183.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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