#1F4978

Closest named color: Twilight Blue (#0A437A). oklch(40.1% 0.092 253.3), rgb(31, 73, 120).

Aa

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

About this color

#1F4978 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.092 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.025 away. White text reads best on it, at 9.20:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.28:1
White text9.20:1

Values

HEX#1F4978
RGBrgb(31, 73, 120)
HSLhsl(212, 59%, 30%)
OKLCHoklch(40.1% 0.092 253.3)

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 #1F4978 9.20:1 AAA Lc -95.3 Preferred for body text
Black text on #1F4978 2.28:1 Fails Lc 13.0 Not readable
#1F4978 text on white 9.20:1 AAA Lc 90.9 Preferred for body text
#1F4978 text on black 2.28:1 Fails Lc -11.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

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A2C4ED

    oklch(81% 0.069 253.4)

  5. Step 400

    400

    #6EA4E4

    oklch(70.7% 0.11 253.4)

  6. Step 500

    500

    #448CDC

    oklch(63.1% 0.141 253)

  7. Step 600

    600

    #2174CA

    oklch(55.6% 0.154 253.3)

  8. Step 700

    700

    #1161AF

    oklch(49.2% 0.143 253.2)

  9. Step 800

    800

    #134F8D

    oklch(42.6% 0.118 253.3)

  10. Step 900

    900 (this color)

    #1F4978

    oklch(40.1% 0.092 253.3)

  11. Step 950

    950

    #102742

    oklch(27% 0.058 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#1F4978 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)#344C7A0.026
Deuteranopia (no green cones)#2644770.015
Tritanopia (no blue cones)#00545A0.072
Achromatopsia (no color)#4848480.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4978

    #1F4978

    oklch(40.1% 0.092 253.3)

  • #633F00

    #633F00

    oklch(40% 0.085 72.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4978

    #1F4978

    oklch(40.1% 0.092 253.3)

  • #005065

    #005065

    oklch(40% 0.075 223.2)

  • #424078

    #424078

    oklch(40.2% 0.092 283)

Open the analogous palette in the generator

Split complementary

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

  • #1F4978

    #1F4978

    oklch(40.1% 0.092 253.3)

  • #70351A

    #70351A

    oklch(40.2% 0.092 43.7)

  • #504900

    #504900

    oklch(40% 0.084 103.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4978

    #1F4978

    oklch(40.1% 0.092 253.3)

  • #713039

    #713039

    oklch(40.1% 0.092 13.7)

  • #335218

    #335218

    oklch(40.1% 0.093 133.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4978

    #1F4978

    oklch(40.1% 0.092 253.3)

  • #693155

    #693155

    oklch(40% 0.093 342.9)

  • #633F00

    #633F00

    oklch(40% 0.085 72.9)

  • #00563A

    #00563A

    oklch(40.1% 0.087 162.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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