#1866C4

Closest named color: Mid Blue (#276AB3). oklch(51.9% 0.164 256.4), rgb(24, 102, 196).

Aa

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

About this color

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

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

Values

HEX#1866C4
RGBrgb(24, 102, 196)
HSLhsl(213, 78%, 43%)
OKLCHoklch(51.9% 0.164 256.4)

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 #1866C4 5.62:1 AA Lc -82.8 Fine for body text
Black text on #1866C4 3.73:1 AA large text Lc 26.6 Dividers and decoration only
#1866C4 text on white 5.62:1 AA Lc 77.5 Fine for body text
#1866C4 text on black 3.73:1 AA large text Lc -24.3 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

    #A0C3F4

    oklch(80.9% 0.079 256.8)

  5. Step 400

    400

    #6AA2EE

    oklch(70.6% 0.127 256.4)

  6. Step 500

    500

    #4089E9

    oklch(63.1% 0.162 256.4)

  7. Step 600

    600

    #1B70D7

    oklch(55.5% 0.176 256.5)

  8. Step 700

    700 (this color)

    #1866C4

    oklch(51.9% 0.164 256.4)

  9. Step 800

    800

    #0F4D97

    oklch(42.7% 0.135 256.3)

  10. Step 900

    900

    #164178

    oklch(37.8% 0.105 256.3)

  11. Step 950

    950

    #0E2646

    oklch(26.9% 0.067 256.5)

Export this scale for Tailwind in the Tailwind colors tool

#1866C4 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)#2F6FC70.031
Deuteranopia (no green cones)#0060C20.019
Tritanopia (no blue cones)#007D8B0.124
Achromatopsia (no color)#6767670.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #1866C4

    #1866C4

    oklch(51.9% 0.164 256.4)

  • #8C5F00

    #8C5F00

    oklch(52% 0.109 76.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1866C4

    #1866C4

    oklch(51.9% 0.164 256.4)

  • #007394

    #007394

    oklch(51.8% 0.099 226.5)

  • #6554C0

    #6554C0

    oklch(52% 0.163 286.5)

Open the analogous palette in the generator

Split complementary

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

  • #1866C4

    #1866C4

    oklch(51.9% 0.164 256.4)

  • #A94700

    #A94700

    oklch(52% 0.145 46.4)

  • #716C00

    #716C00

    oklch(51.9% 0.111 106.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1866C4

    #1866C4

    oklch(51.9% 0.164 256.4)

  • #B33347

    #B33347

    oklch(51.9% 0.164 16.2)

  • #387B00

    #387B00

    oklch(51.8% 0.155 136.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1866C4

    #1866C4

    oklch(51.9% 0.164 256.4)

  • #A7377C

    #A7377C

    oklch(52% 0.164 346.4)

  • #8C5F00

    #8C5F00

    oklch(52% 0.109 76.6)

  • #007C5B

    #007C5B

    oklch(52% 0.107 166.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1866C4 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.