#4178EC

Closest named color: Clear Blue (#247AFD). oklch(59.8% 0.185 263), rgb(65, 120, 236).

Aa

Black text reads best on this color (5.12:1).

About this color

#4178EC is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.185 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.030 away. Black text reads best on it, at 5.12:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.185)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.12:1
White text4.09:1

Values

HEX#4178EC
RGBrgb(65, 120, 236)
HSLhsl(221, 82%, 59%)
OKLCHoklch(59.8% 0.185 263)

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 #4178EC 4.09:1 AA large text Lc -73.2 Content text, not long reading
Black text on #4178EC 5.12:1 AA Lc 36.4 Non-text elements, placeholder text
#4178EC text on white 4.09:1 AA large text Lc 67.7 Content text, not long reading
#4178EC text on black 5.12:1 AA Lc -33.9 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFB

    oklch(88.5% 0.05 262.6)

  4. Step 300

    300

    #A2C1FC

    oklch(80.9% 0.091 263)

  5. Step 400

    400

    #709EFA

    oklch(70.7% 0.144 263.1)

  6. Step 500

    500 (this color)

    #4178EC

    oklch(59.8% 0.185 263)

  7. Step 600

    600

    #2F68E7

    oklch(55.6% 0.202 263.2)

  8. Step 700

    700

    #2256C8

    oklch(49.1% 0.186 262.9)

  9. Step 800

    800

    #1D47A2

    oklch(42.7% 0.155 262.9)

  10. Step 900

    900

    #1D3D81

    oklch(37.8% 0.121 263)

  11. Step 950

    950

    #11244B

    oklch(26.9% 0.077 262.8)

Export this scale for Tailwind in the Tailwind colors tool

#4178EC 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)#3486F00.035
Deuteranopia (no green cones)#0076EA0.032
Tritanopia (no blue cones)#0094A70.147
Achromatopsia (no color)#7D7D7D0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #4178EC

    #4178EC

    oklch(59.8% 0.185 263)

  • #A37700

    #A37700

    oklch(59.7% 0.123 82.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4178EC

    #4178EC

    oklch(59.8% 0.185 263)

  • #008BBD

    #008BBD

    oklch(59.9% 0.123 232.9)

  • #8763E2

    #8763E2

    oklch(59.9% 0.185 293)

Open the analogous palette in the generator

Split complementary

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

  • #4178EC

    #4178EC

    oklch(59.8% 0.185 263)

  • #C36000

    #C36000

    oklch(59.8% 0.152 52.8)

  • #818700

    #818700

    oklch(59.8% 0.133 112.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4178EC

    #4178EC

    oklch(59.8% 0.185 263)

  • #D84348

    #D84348

    oklch(59.8% 0.185 23)

  • #219923

    #219923

    oklch(59.7% 0.184 143)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4178EC

    #4178EC

    oklch(59.8% 0.185 263)

  • #CD4489

    #CD4489

    oklch(59.8% 0.184 353.1)

  • #A37700

    #A37700

    oklch(59.7% 0.123 82.6)

  • #009579

    #009579

    oklch(59.7% 0.114 173.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4178EC 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.