#1F4280

Closest named color: Twilight Blue (#0A437A). oklch(38.9% 0.112 260.9), rgb(31, 66, 128).

Aa

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

About this color

#1F4280 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.112 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.018 away. White text reads best on it, at 9.77:1.

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

Values

HEX#1F4280
RGBrgb(31, 66, 128)
HSLhsl(218, 61%, 31%)
OKLCHoklch(38.9% 0.112 260.9)

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 #1F4280 9.77:1 AAA Lc -96.5 Preferred for body text
Black text on #1F4280 2.14:1 Fails Lc 11.6 Not readable
#1F4280 text on white 9.77:1 AAA Lc 92.3 Preferred for body text
#1F4280 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C8DAF9

    oklch(88.5% 0.047 261.4)

  4. Step 300

    300

    #A2C2F8

    oklch(81% 0.084 260.7)

  5. Step 400

    400

    #6FA0F4

    oklch(70.7% 0.135 260.7)

  6. Step 500

    500

    #4985F0

    oklch(63% 0.173 261)

  7. Step 600

    600

    #2B6CDF

    oklch(55.6% 0.188 260.9)

  8. Step 700

    700

    #1E59C1

    oklch(49% 0.174 260.9)

  9. Step 800

    800

    #1B4A9C

    oklch(42.8% 0.143 260.7)

  10. Step 900

    900 (this color)

    #1F4280

    oklch(38.9% 0.112 260.9)

  11. Step 950

    950

    #112549

    oklch(27% 0.072 261.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F4280 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)#2149820.021
Deuteranopia (no green cones)#09407F0.017
Tritanopia (no blue cones)#00515A0.090
Achromatopsia (no color)#4444440.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4280

    #1F4280

    oklch(38.9% 0.112 260.9)

  • #5B3F00

    #5B3F00

    oklch(38.9% 0.081 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4280

    #1F4280

    oklch(38.9% 0.112 260.9)

  • #004C67

    #004C67

    oklch(39% 0.078 230.6)

  • #46377B

    #46377B

    oklch(38.9% 0.111 290.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F4280

    #1F4280

    oklch(38.9% 0.112 260.9)

  • #6E3100

    #6E3100

    oklch(39% 0.102 50.8)

  • #474800

    #474800

    oklch(38.8% 0.085 110.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4280

    #1F4280

    oklch(38.9% 0.112 260.9)

  • #75252A

    #75252A

    oklch(38.9% 0.112 20.5)

  • #1B5311

    #1B5311

    oklch(39.1% 0.113 140.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4280

    #1F4280

    oklch(38.9% 0.112 260.9)

  • #6F264C

    #6F264C

    oklch(39% 0.112 351.3)

  • #5B3F00

    #5B3F00

    oklch(38.9% 0.081 80.2)

  • #00523F

    #00523F

    oklch(39% 0.077 170.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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