#1F64D1

Closest named color: Royal Blue (#4169E1). oklch(52.6% 0.182 259.7), rgb(31, 100, 209).

Aa

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

About this color

#1F64D1 is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.182 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.041 away. White text reads best on it, at 5.52:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.182)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text3.80:1
White text5.52:1

Values

HEX#1F64D1
RGBrgb(31, 100, 209)
HSLhsl(217, 74%, 47%)
OKLCHoklch(52.6% 0.182 259.7)

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 #1F64D1 5.52:1 AA Lc -82.3 Fine for body text
Black text on #1F64D1 3.80:1 AA large text Lc 27.1 Dividers and decoration only
#1F64D1 text on white 5.52:1 AA Lc 77.0 Fine for body text
#1F64D1 text on black 3.80:1 AA large text Lc -24.8 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 600.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBFA

    oklch(93.7% 0.023 258.4)

  3. Step 200

    200

    #C8DAF8

    oklch(88.4% 0.046 260.7)

  4. Step 300

    300

    #A2C2F6

    oklch(80.9% 0.082 260)

  5. Step 400

    400

    #6FA1F2

    oklch(70.8% 0.131 259.7)

  6. Step 500

    500

    #4886ED

    oklch(63% 0.168 260)

  7. Step 600

    600 (this color)

    #1F64D1

    oklch(52.6% 0.182 259.7)

  8. Step 700

    700

    #1C5BBE

    oklch(49.1% 0.168 259.6)

  9. Step 800

    800

    #194B9A

    oklch(42.8% 0.14 259.6)

  10. Step 900

    900

    #1B3F7A

    oklch(37.6% 0.109 259.8)

  11. Step 950

    950

    #112648

    oklch(27.2% 0.069 259.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F64D1 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)#1171D50.033
Deuteranopia (no green cones)#0061CF0.015
Tritanopia (no blue cones)#007F910.139
Achromatopsia (no color)#6969690.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F64D1

    #1F64D1

    oklch(52.6% 0.182 259.7)

  • #8B6200

    #8B6200

    oklch(52.5% 0.109 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F64D1

    #1F64D1

    oklch(52.6% 0.182 259.7)

  • #00759B

    #00759B

    oklch(52.6% 0.105 229.7)

  • #6D4FCA

    #6D4FCA

    oklch(52.6% 0.182 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F64D1

    #1F64D1

    oklch(52.6% 0.182 259.7)

  • #A84C00

    #A84C00

    oklch(52.6% 0.14 49.4)

  • #706F00

    #706F00

    oklch(52.5% 0.114 109.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F64D1

    #1F64D1

    oklch(52.6% 0.182 259.7)

  • #BD2A3D

    #BD2A3D

    oklch(52.7% 0.182 19.7)

  • #278000

    #278000

    oklch(52.6% 0.168 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F64D1

    #1F64D1

    oklch(52.6% 0.182 259.7)

  • #B12D7A

    #B12D7A

    oklch(52.6% 0.183 349.5)

  • #8B6200

    #8B6200

    oklch(52.5% 0.109 80)

  • #007D61

    #007D61

    oklch(52.5% 0.104 170.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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