#1F4976

Closest named color: Twilight Blue (#0A437A). oklch(39.9% 0.09 252.4), rgb(31, 73, 118).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.27:1
White text9.23:1

Values

HEX#1F4976
RGBrgb(31, 73, 118)
HSLhsl(211, 58%, 29%)
OKLCHoklch(39.9% 0.09 252.4)

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 #1F4976 9.23:1 AAA Lc -95.4 Preferred for body text
Black text on #1F4976 2.27:1 Fails Lc 12.9 Not readable
#1F4976 text on white 9.23:1 AAA Lc 91.0 Preferred for body text
#1F4976 text on black 2.27:1 Fails Lc -11.3 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A2C4EB

    oklch(80.9% 0.066 252.1)

  5. Step 400

    400

    #6EA4E2

    oklch(70.6% 0.108 252.7)

  6. Step 500

    500

    #458CDA

    oklch(63.1% 0.138 252.7)

  7. Step 600

    600

    #2175C7

    oklch(55.7% 0.149 252.2)

  8. Step 700

    700

    #1262AC

    oklch(49.2% 0.138 252.1)

  9. Step 800

    800

    #14508B

    oklch(42.7% 0.114 252.3)

  10. Step 900

    900 (this color)

    #1F4976

    oklch(39.9% 0.09 252.4)

  11. Step 950

    950

    #102741

    oklch(26.9% 0.057 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F4976 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)#354C780.027
Deuteranopia (no green cones)#2844750.016
Tritanopia (no blue cones)#00545A0.069
Achromatopsia (no color)#4747470.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4976

    #1F4976

    oklch(39.9% 0.09 252.4)

  • #633F00

    #633F00

    oklch(40% 0.085 72.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4976

    #1F4976

    oklch(39.9% 0.09 252.4)

  • #005064

    #005064

    oklch(40% 0.074 222)

  • #414076

    #414076

    oklch(40% 0.089 282.4)

Open the analogous palette in the generator

Split complementary

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

  • #1F4976

    #1F4976

    oklch(39.9% 0.09 252.4)

  • #6E351D

    #6E351D

    oklch(39.9% 0.089 42.5)

  • #504900

    #504900

    oklch(40% 0.084 103.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4976

    #1F4976

    oklch(39.9% 0.09 252.4)

  • #6F303A

    #6F303A

    oklch(39.8% 0.09 12.2)

  • #345119

    #345119

    oklch(39.9% 0.09 132.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4976

    #1F4976

    oklch(39.9% 0.09 252.4)

  • #673255

    #673255

    oklch(39.9% 0.089 341.8)

  • #633F00

    #633F00

    oklch(40% 0.085 72.9)

  • #005639

    #005639

    oklch(40.1% 0.088 162.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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