#1F4183

Closest named color: Twilight Blue (#0A437A). oklch(38.9% 0.118 262), rgb(31, 65, 131).

Aa

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

About this color

#1F4183 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.118 and its hue 262°. 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 9.80:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.14:1
White text9.80:1

Values

HEX#1F4183
RGBrgb(31, 65, 131)
HSLhsl(220, 62%, 32%)
OKLCHoklch(38.9% 0.118 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 #1F4183 9.80:1 AAA Lc -96.6 Preferred for body text
Black text on #1F4183 2.14:1 Fails Lc 11.6 Not readable
#1F4183 text on white 9.80:1 AAA Lc 92.4 Preferred for body text
#1F4183 text on black 2.14:1 Fails Lc -10.1 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

    #C8DAFB

    oklch(88.5% 0.05 262.6)

  4. Step 300

    300

    #A1C1FB

    oklch(80.8% 0.09 262.1)

  5. Step 400

    400

    #6F9FF8

    oklch(70.7% 0.141 261.9)

  6. Step 500

    500

    #4984F5

    oklch(63.2% 0.18 261.9)

  7. Step 600

    600

    #2C6AE4

    oklch(55.6% 0.197 262)

  8. Step 700

    700

    #1F57C6

    oklch(49% 0.183 262)

  9. Step 800

    800

    #1B48A0

    oklch(42.6% 0.151 261.9)

  10. Step 900

    900 (this color)

    #1F4183

    oklch(38.9% 0.118 262)

  11. Step 950

    950

    #11254A

    oklch(27.1% 0.074 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F4183 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)#1B48850.020
Deuteranopia (no green cones)#003F820.021
Tritanopia (no blue cones)#00515B0.095
Achromatopsia (no color)#4444440.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4183

    #1F4183

    oklch(38.9% 0.118 262)

  • #5A4000

    #5A4000

    oklch(39% 0.08 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4183

    #1F4183

    oklch(38.9% 0.118 262)

  • #004B68

    #004B68

    oklch(38.8% 0.08 232.8)

  • #48357E

    #48357E

    oklch(39% 0.119 292)

Open the analogous palette in the generator

Split complementary

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

  • #1F4183

    #1F4183

    oklch(38.9% 0.118 262)

  • #6D3200

    #6D3200

    oklch(39% 0.1 52.1)

  • #464900

    #464900

    oklch(38.9% 0.086 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4183

    #1F4183

    oklch(38.9% 0.118 262)

  • #772226

    #772226

    oklch(38.8% 0.118 22)

  • #13530E

    #13530E

    oklch(38.8% 0.118 142.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4183

    #1F4183

    oklch(38.9% 0.118 262)

  • #71234B

    #71234B

    oklch(38.9% 0.118 352.3)

  • #5A4000

    #5A4000

    oklch(39% 0.08 82.4)

  • #005240

    #005240

    oklch(39.1% 0.076 171.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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