#1F3163

Closest named color: Prussian Blue (#1D3557). oklch(32.7% 0.091 266.5), rgb(31, 49, 99).

Aa

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

About this color

#1F3163 is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.091 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.027 away. White text reads best on it, at 12.51:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.67:1
White text12.51:1

Values

HEX#1F3163
RGBrgb(31, 49, 99)
HSLhsl(224, 52%, 25%)
OKLCHoklch(32.7% 0.091 266.5)

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 #1F3163 12.51:1 AAA Lc -101.6 Preferred for body text
Black text on #1F3163 1.67:1 Fails Lc 0.0 Not readable
#1F3163 text on white 12.51:1 AAA Lc 98.2 Preferred for body text
#1F3163 text on black 1.67: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CED9F3

    oklch(88.5% 0.038 267.3)

  4. Step 300

    300

    #ACC0EE

    oklch(80.9% 0.069 266.5)

  5. Step 400

    400

    #819EE5

    oklch(70.6% 0.11 266.7)

  6. Step 500

    500

    #6285DE

    oklch(63.2% 0.14 266.3)

  7. Step 600

    600

    #4A6CCB

    oklch(55.5% 0.152 266.7)

  8. Step 700

    700

    #3B5AB0

    oklch(49.1% 0.142 266.4)

  9. Step 800

    800

    #314A8E

    oklch(42.7% 0.116 266.4)

  10. Step 900

    900 (this color)

    #1F3163

    oklch(32.7% 0.091 266.5)

  11. Step 950

    950

    #192543

    oklch(27% 0.058 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F3163 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)#1837650.018
Deuteranopia (no green cones)#0A31620.020
Tritanopia (no blue cones)#003D450.077
Achromatopsia (no color)#3434340.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F3163

    #1F3163

    oklch(32.7% 0.091 266.5)

  • #443200

    #443200

    oklch(32.9% 0.067 86.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F3163

    #1F3163

    oklch(32.7% 0.091 266.5)

  • #003954

    #003954

    oklch(32.6% 0.071 236.9)

  • #3A285D

    #3A285D

    oklch(32.7% 0.091 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F3163

    #1F3163

    oklch(32.7% 0.091 266.5)

  • #522800

    #522800

    oklch(32.7% 0.079 57.1)

  • #333900

    #333900

    oklch(32.8% 0.075 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F3163

    #1F3163

    oklch(32.7% 0.091 266.5)

  • #5B1D1A

    #5B1D1A

    oklch(32.8% 0.092 26.2)

  • #084015

    #084015

    oklch(32.6% 0.09 146.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F3163

    #1F3163

    oklch(32.7% 0.091 266.5)

  • #571C36

    #571C36

    oklch(32.7% 0.092 356.1)

  • #443200

    #443200

    oklch(32.9% 0.067 86.5)

  • #003F34

    #003F34

    oklch(32.9% 0.061 176.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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