#1F3155

Closest named color: Prussian Blue (#1D3557). oklch(31.7% 0.069 263), rgb(31, 49, 85).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.069)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.62:1
White text12.89:1

Values

HEX#1F3155
RGBrgb(31, 49, 85)
HSLhsl(220, 47%, 23%)
OKLCHoklch(31.7% 0.069 263)

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 #1F3155 12.89:1 AAA Lc -102.2 Preferred for body text
Black text on #1F3155 1.62:1 Fails Lc 0.0 Not readable
#1F3155 text on white 12.89:1 AAA Lc 98.9 Preferred for body text
#1F3155 text on black 1.62: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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CADAF8

    oklch(88.6% 0.045 263.1)

  4. Step 300

    300

    #A5C1F6

    oklch(80.9% 0.081 263)

  5. Step 400

    400

    #759FF2

    oklch(70.7% 0.131 263.1)

  6. Step 500

    500

    #5184ED

    oklch(63% 0.167 263)

  7. Step 600

    600

    #376BDB

    oklch(55.5% 0.181 263.1)

  8. Step 700

    700

    #2959BE

    oklch(49.1% 0.168 262.7)

  9. Step 800

    800

    #23499A

    oklch(42.7% 0.14 263)

  10. Step 900

    900

    #213E7A

    oklch(37.6% 0.108 262.9)

  11. Step 950

    950 (this color)

    #1F3155

    oklch(31.7% 0.069 263)

Export this scale for Tailwind in the Tailwind colors tool

#1F3155 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)#2234560.011
Deuteranopia (no green cones)#1B2F540.009
Tritanopia (no blue cones)#00393E0.061
Achromatopsia (no color)#3232320.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F3155

    #1F3155

    oklch(31.7% 0.069 263)

  • #422E00

    #422E00

    oklch(31.6% 0.065 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F3155

    #1F3155

    oklch(31.7% 0.069 263)

  • #00374E

    #00374E

    oklch(31.7% 0.066 233.4)

  • #342A52

    #342A52

    oklch(31.7% 0.07 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F3155

    #1F3155

    oklch(31.7% 0.069 263)

  • #4D270B

    #4D270B

    oklch(31.8% 0.069 53.1)

  • #333502

    #333502

    oklch(31.7% 0.068 112.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F3155

    #1F3155

    oklch(31.7% 0.069 263)

  • #502221

    #502221

    oklch(31.8% 0.07 23.1)

  • #1B3B19

    #1B3B19

    oklch(31.8% 0.069 142.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F3155

    #1F3155

    oklch(31.7% 0.069 263)

  • #4C2235

    #4C2235

    oklch(31.7% 0.068 353.2)

  • #422E00

    #422E00

    oklch(31.6% 0.065 82.4)

  • #003C2F

    #003C2F

    oklch(31.7% 0.061 172.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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