#1F3B71

Closest named color: Twilight Blue (#0A437A). oklch(36.2% 0.099 262), rgb(31, 59, 113).

Aa

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

About this color

#1F3B71 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.099 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.027 away. White text reads best on it, at 10.92:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.92:1
White text10.92:1

Values

HEX#1F3B71
RGBrgb(31, 59, 113)
HSLhsl(220, 57%, 28%)
OKLCHoklch(36.2% 0.099 262)

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 #1F3B71 10.92:1 AAA Lc -98.9 Preferred for body text
Black text on #1F3B71 1.92:1 Fails Lc 8.9 Not readable
#1F3B71 text on white 10.92:1 AAA Lc 95.0 Preferred for body text
#1F3B71 text on black 1.92:1 Fails Lc -7.6 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF5

    oklch(88.5% 0.041 260.9)

  4. Step 300

    300

    #A7C1F2

    oklch(80.9% 0.075 262.9)

  5. Step 400

    400

    #77A0EB

    oklch(70.7% 0.119 261.9)

  6. Step 500

    500

    #5586E5

    oklch(63.1% 0.153 262.3)

  7. Step 600

    600

    #3A6ED3

    oklch(55.7% 0.166 262)

  8. Step 700

    700

    #2C5BB6

    oklch(49% 0.153 261.9)

  9. Step 800

    800

    #264B94

    oklch(42.8% 0.128 262.2)

  10. Step 900

    900 (this color)

    #1F3B71

    oklch(36.2% 0.099 262)

  11. Step 950

    950

    #152545

    oklch(26.9% 0.064 262.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F3B71 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)#2041730.018
Deuteranopia (no green cones)#1039700.015
Tritanopia (no blue cones)#0048500.081
Achromatopsia (no color)#3D3D3D0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F3B71

    #1F3B71

    oklch(36.2% 0.099 262)

  • #513900

    #513900

    oklch(36.2% 0.075 82.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F3B71

    #1F3B71

    oklch(36.2% 0.099 262)

  • #00445D

    #00445D

    oklch(36.3% 0.073 231)

  • #40316D

    #40316D

    oklch(36.2% 0.1 292.2)

Open the analogous palette in the generator

Split complementary

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

  • #1F3B71

    #1F3B71

    oklch(36.2% 0.099 262)

  • #622C00

    #622C00

    oklch(36.1% 0.093 51.9)

  • #3F4100

    #3F4100

    oklch(36.1% 0.08 111.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F3B71

    #1F3B71

    oklch(36.2% 0.099 262)

  • #682325

    #682325

    oklch(36.2% 0.099 21.8)

  • #184A14

    #184A14

    oklch(36.2% 0.099 142.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F3B71

    #1F3B71

    oklch(36.2% 0.099 262)

  • #632343

    #632343

    oklch(36.2% 0.1 352.2)

  • #513900

    #513900

    oklch(36.2% 0.075 82.1)

  • #004939

    #004939

    oklch(36.1% 0.07 171.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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