#1F52AE

Closest named color: Dusk Blue (#26538D). oklch(46% 0.157 261.1), rgb(31, 82, 174).

Aa

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

About this color

#1F52AE is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.157 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.054 away. White text reads best on it, at 7.30:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.157)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.87:1
White text7.30:1

Values

HEX#1F52AE
RGBrgb(31, 82, 174)
HSLhsl(219, 70%, 40%)
OKLCHoklch(46% 0.157 261.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 #1F52AE 7.30:1 AAA Lc -89.7 Fine for body text
Black text on #1F52AE 2.87:1 Fails Lc 19.2 Dividers and decoration only
#1F52AE text on white 7.30:1 AAA Lc 84.8 Fine for body text
#1F52AE text on black 2.87:1 Fails Lc -17.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 700.

  1. Step 50

    50

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF6

    oklch(88.5% 0.042 261.7)

  4. Step 300

    300

    #A5C2F2

    oklch(80.9% 0.075 260.4)

  5. Step 400

    400

    #75A0EC

    oklch(70.6% 0.122 261.3)

  6. Step 500

    500

    #5187E6

    oklch(63.2% 0.155 260.9)

  7. Step 600

    600

    #356ED4

    oklch(55.6% 0.168 261)

  8. Step 700

    700 (this color)

    #1F52AE

    oklch(46% 0.157 261.1)

  9. Step 800

    800

    #224B95

    oklch(42.7% 0.13 261.1)

  10. Step 900

    900

    #213F77

    oklch(37.7% 0.102 261.6)

  11. Step 950

    950

    #142645

    oklch(27.1% 0.063 260.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F52AE 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)#0D5DB10.029
Deuteranopia (no green cones)#0050AC0.016
Tritanopia (no blue cones)#0069780.122
Achromatopsia (no color)#5656560.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F52AE

    #1F52AE

    oklch(46% 0.157 261.1)

  • #735100

    #735100

    oklch(46% 0.095 80.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F52AE

    #1F52AE

    oklch(46% 0.157 261.1)

  • #006182

    #006182

    oklch(46.2% 0.092 230.3)

  • #5C41A7

    #5C41A7

    oklch(46.1% 0.157 291.2)

Open the analogous palette in the generator

Split complementary

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

  • #1F52AE

    #1F52AE

    oklch(46% 0.157 261.1)

  • #8B4000

    #8B4000

    oklch(46.1% 0.12 51)

  • #5B5D00

    #5B5D00

    oklch(46.1% 0.102 111.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F52AE

    #1F52AE

    oklch(46% 0.157 261.1)

  • #9D232F

    #9D232F

    oklch(46% 0.157 21.1)

  • #146B00

    #146B00

    oklch(46% 0.152 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F52AE

    #1F52AE

    oklch(46% 0.157 261.1)

  • #942563

    #942563

    oklch(46.1% 0.158 350.9)

  • #735100

    #735100

    oklch(46% 0.095 80.6)

  • #006851

    #006851

    oklch(46% 0.09 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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