#4178DE

Closest named color: Royal Blue (#4169E1). oklch(58.8% 0.166 261.5), rgb(65, 120, 222).

Aa

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

About this color

#4178DE is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.166 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.039 away. Black text reads best on it, at 4.96:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.166)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.96:1
White text4.22:1

Values

HEX#4178DE
RGBrgb(65, 120, 222)
HSLhsl(219, 70%, 56%)
OKLCHoklch(58.8% 0.166 261.5)

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 #4178DE 4.22:1 AA large text Lc -74.3 Content text, not long reading
Black text on #4178DE 4.96:1 AA Lc 35.3 Non-text elements, placeholder text
#4178DE text on white 4.22:1 AA large text Lc 68.8 Content text, not long reading
#4178DE text on black 4.96:1 AA Lc -32.8 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 600.

  1. Step 50

    50

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF5

    oklch(88.5% 0.041 260.9)

  4. Step 300

    300

    #A6C2F2

    oklch(81% 0.075 261.1)

  5. Step 400

    400

    #76A0EB

    oklch(70.6% 0.12 261.5)

  6. Step 500

    500

    #5386E5

    oklch(63% 0.154 261.7)

  7. Step 600

    600 (this color)

    #4178DE

    oklch(58.8% 0.166 261.5)

  8. Step 700

    700

    #2A5BB7

    oklch(49% 0.155 261.5)

  9. Step 800

    800

    #244B94

    oklch(42.7% 0.128 261.5)

  10. Step 900

    900

    #223F76

    oklch(37.6% 0.1 261.9)

  11. Step 950

    950

    #142545

    oklch(26.9% 0.064 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#4178DE 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)#4383E20.029
Deuteranopia (no green cones)#2074DC0.027
Tritanopia (no blue cones)#0090A00.133
Achromatopsia (no color)#7B7B7B0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #4178DE

    #4178DE

    oklch(58.8% 0.166 261.5)

  • #A17400

    #A17400

    oklch(58.9% 0.121 81.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4178DE

    #4178DE

    oklch(58.8% 0.166 261.5)

  • #0088B7

    #0088B7

    oklch(58.8% 0.12 231.7)

  • #8065D6

    #8065D6

    oklch(58.8% 0.167 291.4)

Open the analogous palette in the generator

Split complementary

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

  • #4178DE

    #4178DE

    oklch(58.8% 0.166 261.5)

  • #C15C00

    #C15C00

    oklch(58.8% 0.153 51.2)

  • #808300

    #808300

    oklch(58.8% 0.13 111.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4178DE

    #4178DE

    oklch(58.8% 0.166 261.5)

  • #CD494F

    #CD494F

    oklch(58.8% 0.167 21.3)

  • #36942B

    #36942B

    oklch(58.9% 0.167 141.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4178DE

    #4178DE

    oklch(58.8% 0.166 261.5)

  • #C24A88

    #C24A88

    oklch(58.8% 0.166 351.4)

  • #A17400

    #A17400

    oklch(58.9% 0.121 81.5)

  • #009274

    #009274

    oklch(58.8% 0.115 171.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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