#1F66C7

Closest named color: Mid Blue (#276AB3). oklch(52.3% 0.166 257.8), rgb(31, 102, 199).

Aa

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

About this color

#1F66C7 is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.166 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.035 away. White text reads best on it, at 5.55:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.166)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.78:1
White text5.55:1

Values

HEX#1F66C7
RGBrgb(31, 102, 199)
HSLhsl(215, 73%, 45%)
OKLCHoklch(52.3% 0.166 257.8)

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 #1F66C7 5.55:1 AA Lc -82.5 Fine for body text
Black text on #1F66C7 3.78:1 AA large text Lc 26.9 Dividers and decoration only
#1F66C7 text on white 5.55:1 AA Lc 77.2 Fine for body text
#1F66C7 text on black 3.78:1 AA large text Lc -24.6 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C7DBF7

    oklch(88.5% 0.044 256.8)

  4. Step 300

    300

    #A0C3F5

    oklch(80.9% 0.081 257.3)

  5. Step 400

    400

    #6CA2F0

    oklch(70.8% 0.129 257.6)

  6. Step 500

    500

    #4388EB

    oklch(63.1% 0.165 257.8)

  7. Step 600

    600

    #216FD9

    oklch(55.6% 0.179 257.8)

  8. Step 700

    700 (this color)

    #1F66C7

    oklch(52.3% 0.166 257.8)

  9. Step 800

    800

    #144C98

    oklch(42.7% 0.137 257.8)

  10. Step 900

    900

    #184079

    oklch(37.7% 0.107 257.9)

  11. Step 950

    950

    #0F2647

    oklch(27% 0.068 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#1F66C7 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)#2C70CB0.030
Deuteranopia (no green cones)#0061C50.019
Tritanopia (no blue cones)#007E8D0.127
Achromatopsia (no color)#6868680.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F66C7

    #1F66C7

    oklch(52.3% 0.166 257.8)

  • #8C6000

    #8C6000

    oklch(52.3% 0.109 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F66C7

    #1F66C7

    oklch(52.3% 0.166 257.8)

  • #007497

    #007497

    oklch(52.2% 0.102 227.8)

  • #6853C2

    #6853C2

    oklch(52.2% 0.166 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F66C7

    #1F66C7

    oklch(52.3% 0.166 257.8)

  • #A94900

    #A94900

    oklch(52.3% 0.144 47.5)

  • #716E00

    #716E00

    oklch(52.4% 0.113 107.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F66C7

    #1F66C7

    oklch(52.3% 0.166 257.8)

  • #B53344

    #B53344

    oklch(52.2% 0.166 17.9)

  • #327D00

    #327D00

    oklch(52.1% 0.16 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F66C7

    #1F66C7

    oklch(52.3% 0.166 257.8)

  • #AA367B

    #AA367B

    oklch(52.4% 0.167 347.8)

  • #8C6000

    #8C6000

    oklch(52.3% 0.109 77.5)

  • #007D5E

    #007D5E

    oklch(52.4% 0.106 167.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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