#1F4579

Closest named color: Twilight Blue (#0A437A). oklch(39.1% 0.098 257), rgb(31, 69, 121).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.18:1
White text9.60:1

Values

HEX#1F4579
RGBrgb(31, 69, 121)
HSLhsl(215, 59%, 30%)
OKLCHoklch(39.1% 0.098 257)

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 #1F4579 9.60:1 AAA Lc -96.2 Preferred for body text
Black text on #1F4579 2.18:1 Fails Lc 12.0 Not readable
#1F4579 text on white 9.60:1 AAA Lc 92.0 Preferred for body text
#1F4579 text on black 2.18:1 Fails Lc -10.4 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF5

    oklch(88.5% 0.041 256.2)

  4. Step 300

    300

    #A2C3F1

    oklch(80.9% 0.075 256.7)

  5. Step 400

    400

    #70A2E9

    oklch(70.6% 0.118 257.2)

  6. Step 500

    500

    #4889E3

    oklch(63.1% 0.152 257.1)

  7. Step 600

    600

    #2871D1

    oklch(55.6% 0.165 257)

  8. Step 700

    700

    #1B5EB5

    oklch(49.1% 0.153 257.1)

  9. Step 800

    800

    #194D92

    oklch(42.6% 0.126 257.1)

  10. Step 900

    900 (this color)

    #1F4579

    oklch(39.1% 0.098 257)

  11. Step 950

    950

    #112644

    oklch(26.9% 0.062 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F4579 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)#2C497B0.020
Deuteranopia (no green cones)#1E41780.012
Tritanopia (no blue cones)#0051590.077
Achromatopsia (no color)#4545450.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4579

    #1F4579

    oklch(39.1% 0.098 257)

  • #5E3E00

    #5E3E00

    oklch(39.1% 0.082 76)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4579

    #1F4579

    oklch(39.1% 0.098 257)

  • #004D65

    #004D65

    oklch(39.2% 0.076 227.2)

  • #433B77

    #433B77

    oklch(39.2% 0.099 287)

Open the analogous palette in the generator

Split complementary

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

  • #1F4579

    #1F4579

    oklch(39.1% 0.098 257)

  • #6E310D

    #6E310D

    oklch(39.1% 0.098 46.7)

  • #4B4800

    #4B4800

    oklch(39.2% 0.084 107)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4579

    #1F4579

    oklch(39.1% 0.098 257)

  • #712B32

    #712B32

    oklch(39.2% 0.099 16.9)

  • #2A5116

    #2A5116

    oklch(39.2% 0.098 136.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4579

    #1F4579

    oklch(39.1% 0.098 257)

  • #6A2C50

    #6A2C50

    oklch(39.2% 0.1 346.8)

  • #5E3E00

    #5E3E00

    oklch(39.1% 0.082 76)

  • #00533C

    #00533C

    oklch(39.2% 0.081 166.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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