#1F5895

Closest named color: Dusk Blue (#26538D). oklch(45.6% 0.116 253.1), rgb(31, 88, 149).

Aa

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

About this color

#1F5895 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.116 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.018 away. White text reads best on it, at 7.27:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.88:1
White text7.27:1

Values

HEX#1F5895
RGBrgb(31, 88, 149)
HSLhsl(211, 66%, 35%)
OKLCHoklch(45.6% 0.116 253.1)

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 #1F5895 7.27:1 AAA Lc -89.8 Fine for body text
Black text on #1F5895 2.88:1 Fails Lc 19.1 Dividers and decoration only
#1F5895 text on white 7.27:1 AAA Lc 84.9 Fine for body text
#1F5895 text on black 2.88:1 Fails Lc -17.1 Dividers and decoration only

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 800.

  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

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A2C4EC

    oklch(80.9% 0.068 252.7)

  5. Step 400

    400

    #6FA4E2

    oklch(70.7% 0.107 253.1)

  6. Step 500

    500

    #468CDA

    oklch(63.1% 0.138 253)

  7. Step 600

    600

    #2374C8

    oklch(55.5% 0.151 253.1)

  8. Step 700

    700

    #1561AD

    oklch(49.1% 0.14 253.2)

  9. Step 800

    800 (this color)

    #1F5895

    oklch(45.6% 0.116 253.1)

  10. Step 900

    900

    #194370

    oklch(37.8% 0.09 252.7)

  11. Step 950

    950

    #102741

    oklch(26.9% 0.057 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F5895 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)#3B5C970.030
Deuteranopia (no green cones)#2752940.017
Tritanopia (no blue cones)#00666F0.086
Achromatopsia (no color)#5757570.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5895

    #1F5895

    oklch(45.6% 0.116 253.1)

  • #774D00

    #774D00

    oklch(45.6% 0.097 73.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5895

    #1F5895

    oklch(45.6% 0.116 253.1)

  • #006179

    #006179

    oklch(45.7% 0.085 222.4)

  • #4F4C94

    #4F4C94

    oklch(45.6% 0.115 282.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F5895

    #1F5895

    oklch(45.6% 0.116 253.1)

  • #8A3D19

    #8A3D19

    oklch(45.6% 0.116 43.2)

  • #615900

    #615900

    oklch(45.7% 0.096 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5895

    #1F5895

    oklch(45.6% 0.116 253.1)

  • #8B3644

    #8B3644

    oklch(45.5% 0.116 12.9)

  • #3C6415

    #3C6415

    oklch(45.7% 0.116 133)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5895

    #1F5895

    oklch(45.6% 0.116 253.1)

  • #813968

    #813968

    oklch(45.6% 0.115 342.8)

  • #774D00

    #774D00

    oklch(45.6% 0.097 73.3)

  • #006747

    #006747

    oklch(45.5% 0.098 163.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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