#1F2F57

Closest named color: Prussian Blue (#1D3557). oklch(31.4% 0.075 265.8), rgb(31, 47, 87).

Aa

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

About this color

#1F2F57 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.075 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.019 away. White text reads best on it, at 13.10:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.60:1
White text13.10:1

Values

HEX#1F2F57
RGBrgb(31, 47, 87)
HSLhsl(223, 47%, 23%)
OKLCHoklch(31.4% 0.075 265.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 #1F2F57 13.10:1 AAA Lc -102.5 Preferred for body text
Black text on #1F2F57 1.60:1 Fails Lc 0.0 Not readable
#1F2F57 text on white 13.10:1 AAA Lc 99.2 Preferred for body text
#1F2F57 text on black 1.60: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 950.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FB

    oklch(88.5% 0.05 266.5)

  4. Step 300

    300

    #A6C0FB

    oklch(81% 0.089 266)

  5. Step 400

    400

    #769DF9

    oklch(70.7% 0.142 265.5)

  6. Step 500

    500

    #5581F6

    oklch(63.2% 0.181 265.9)

  7. Step 600

    600

    #3C67E5

    oklch(55.7% 0.197 265.9)

  8. Step 700

    700

    #2F54C7

    oklch(49.1% 0.184 266.1)

  9. Step 800

    800

    #2746A1

    oklch(42.8% 0.152 265.9)

  10. Step 900

    900

    #233C7F

    oklch(37.7% 0.118 265.6)

  11. Step 950

    950 (this color)

    #1F2F57

    oklch(31.4% 0.075 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F2F57 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)#1D33590.012
Deuteranopia (no green cones)#162E560.012
Tritanopia (no blue cones)#00383E0.066
Achromatopsia (no color)#3030300.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2F57

    #1F2F57

    oklch(31.4% 0.075 265.8)

  • #402E00

    #402E00

    oklch(31.4% 0.064 85)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2F57

    #1F2F57

    oklch(31.4% 0.075 265.8)

  • #00364E

    #00364E

    oklch(31.4% 0.067 234.9)

  • #352853

    #352853

    oklch(31.4% 0.076 295.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F2F57

    #1F2F57

    oklch(31.4% 0.075 265.8)

  • #4D2502

    #4D2502

    oklch(31.3% 0.075 55.6)

  • #303500

    #303500

    oklch(31.3% 0.071 115.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2F57

    #1F2F57

    oklch(31.4% 0.075 265.8)

  • #51201C

    #51201C

    oklch(31.5% 0.075 26.9)

  • #133B18

    #133B18

    oklch(31.4% 0.075 145.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2F57

    #1F2F57

    oklch(31.4% 0.075 265.8)

  • #4E1F33

    #4E1F33

    oklch(31.5% 0.075 355.6)

  • #402E00

    #402E00

    oklch(31.4% 0.064 85)

  • #003B30

    #003B30

    oklch(31.5% 0.059 175.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F2F57 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.