#1F539D

Closest named color: Dusk Blue (#26538D). oklch(45% 0.133 258), rgb(31, 83, 157).

Aa

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

About this color

#1F539D is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.133 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.026 away. White text reads best on it, at 7.54:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.78:1
White text7.54:1

Values

HEX#1F539D
RGBrgb(31, 83, 157)
HSLhsl(215, 67%, 37%)
OKLCHoklch(45% 0.133 258)

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 #1F539D 7.54:1 AAA Lc -90.6 Preferred for body text
Black text on #1F539D 2.78:1 Fails Lc 18.2 Dividers and decoration only
#1F539D text on white 7.54:1 AAA Lc 85.8 Fine for body text
#1F539D text on black 2.78:1 Fails Lc -16.2 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C8DBF6

    oklch(88.6% 0.043 257.1)

  4. Step 300

    300

    #A2C3F3

    oklch(81% 0.077 257.7)

  5. Step 400

    400

    #6FA2ED

    oklch(70.8% 0.123 257.9)

  6. Step 500

    500

    #4788E7

    oklch(63% 0.158 258)

  7. Step 600

    600

    #2770D5

    oklch(55.6% 0.171 257.8)

  8. Step 700

    700

    #195DB9

    oklch(49.1% 0.16 257.8)

  9. Step 800

    800 (this color)

    #1F539D

    oklch(45% 0.133 258)

  10. Step 900

    900

    #1A4077

    oklch(37.6% 0.104 258)

  11. Step 950

    950

    #102646

    oklch(27% 0.066 257.9)

Export this scale for Tailwind in the Tailwind colors tool

#1F539D 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)#2B5AA00.024
Deuteranopia (no green cones)#094F9C0.018
Tritanopia (no blue cones)#0065700.103
Achromatopsia (no color)#5454540.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F539D

    #1F539D

    oklch(45% 0.133 258)

  • #714D00

    #714D00

    oklch(44.8% 0.094 77.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F539D

    #1F539D

    oklch(45% 0.133 258)

  • #005E7B

    #005E7B

    oklch(45% 0.087 227.7)

  • #544599

    #544599

    oklch(45% 0.132 288.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F539D

    #1F539D

    oklch(45% 0.133 258)

  • #893B00

    #893B00

    oklch(45% 0.122 48.3)

  • #5B5900

    #5B5900

    oklch(45.1% 0.097 108.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F539D

    #1F539D

    oklch(45% 0.133 258)

  • #902D38

    #902D38

    oklch(44.9% 0.133 18)

  • #2A650A

    #2A650A

    oklch(45% 0.132 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F539D

    #1F539D

    oklch(45% 0.133 258)

  • #872F62

    #872F62

    oklch(45% 0.133 348)

  • #714D00

    #714D00

    oklch(44.8% 0.094 77.8)

  • #00654B

    #00654B

    oklch(45% 0.091 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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