#1F3E80

Closest named color: Twilight Blue (#0A437A). oklch(38% 0.118 263.1), rgb(31, 62, 128).

Aa

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

About this color

#1F3E80 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.118 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.022 away. White text reads best on it, at 10.19:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.05:1
White text10.19:1

Values

HEX#1F3E80
RGBrgb(31, 62, 128)
HSLhsl(221, 61%, 31%)
OKLCHoklch(38% 0.118 263.1)

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 #1F3E80 10.19:1 AAA Lc -97.4 Preferred for body text
Black text on #1F3E80 2.05:1 Fails Lc 10.6 Not readable
#1F3E80 text on white 10.19:1 AAA Lc 93.3 Preferred for body text
#1F3E80 text on black 2.05:1 Fails Lc -9.2 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFA

    oklch(88.5% 0.048 262)

  4. Step 300

    300

    #A3C1FA

    oklch(80.9% 0.087 263)

  5. Step 400

    400

    #719EF8

    oklch(70.6% 0.141 263.1)

  6. Step 500

    500

    #4D83F5

    oklch(63.1% 0.18 263.2)

  7. Step 600

    600

    #3169E4

    oklch(55.6% 0.196 263.1)

  8. Step 700

    700

    #2457C6

    oklch(49.2% 0.182 262.9)

  9. Step 800

    800

    #1F48A0

    oklch(42.8% 0.15 262.9)

  10. Step 900

    900 (this color)

    #1F3E80

    oklch(38% 0.118 263.1)

  11. Step 950

    950

    #12244A

    oklch(26.9% 0.075 263.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F3E80 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)#1746820.022
Deuteranopia (no green cones)#003D7F0.021
Tritanopia (no blue cones)#004E590.093
Achromatopsia (no color)#4141410.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F3E80

    #1F3E80

    oklch(38% 0.118 263.1)

  • #563E00

    #563E00

    oklch(38% 0.078 83.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F3E80

    #1F3E80

    oklch(38% 0.118 263.1)

  • #004965

    #004965

    oklch(38.1% 0.078 232.4)

  • #46327A

    #46327A

    oklch(38% 0.118 292.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F3E80

    #1F3E80

    oklch(38% 0.118 263.1)

  • #693100

    #693100

    oklch(38.2% 0.097 53.2)

  • #434700

    #434700

    oklch(38.1% 0.085 113.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F3E80

    #1F3E80

    oklch(38% 0.118 263.1)

  • #742023

    #742023

    oklch(37.9% 0.117 22.8)

  • #0C510E

    #0C510E

    oklch(38% 0.118 143.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F3E80

    #1F3E80

    oklch(38% 0.118 263.1)

  • #6E2048

    #6E2048

    oklch(37.9% 0.118 352.6)

  • #563E00

    #563E00

    oklch(38% 0.078 83.8)

  • #004F3F

    #004F3F

    oklch(38.1% 0.073 173.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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