#4178D5

Closest named color: Windows Blue (#3778BF). oklch(58.2% 0.154 260.2), rgb(65, 120, 213).

Aa

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

About this color

#4178D5 is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.154 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.036 away. Black text reads best on it, at 4.87:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.154)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.87:1
White text4.31:1

Values

HEX#4178D5
RGBrgb(65, 120, 213)
HSLhsl(218, 64%, 55%)
OKLCHoklch(58.2% 0.154 260.2)

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 #4178D5 4.31:1 AA large text Lc -75.0 Content text, not long reading
Black text on #4178D5 4.87:1 AA Lc 34.6 Non-text elements, placeholder text
#4178D5 text on white 4.31:1 AA large text Lc 69.5 Content text, not long reading
#4178D5 text on black 4.87:1 AA Lc -32.2 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

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CBDAF3

    oklch(88.5% 0.038 260.7)

  4. Step 300

    300

    #A7C2EE

    oklch(80.9% 0.069 260.1)

  5. Step 400

    400

    #78A1E6

    oklch(70.7% 0.111 260.5)

  6. Step 500

    500

    #5588DE

    oklch(63.1% 0.141 260.3)

  7. Step 600

    600 (this color)

    #4178D5

    oklch(58.2% 0.154 260.2)

  8. Step 700

    700

    #2C5DB1

    oklch(49.1% 0.144 260.4)

  9. Step 800

    800

    #254C8F

    oklch(42.6% 0.12 260.4)

  10. Step 900

    900

    #234072

    oklch(37.6% 0.093 260.6)

  11. Step 950

    950

    #152643

    oklch(27% 0.059 260.5)

Export this scale for Tailwind in the Tailwind colors tool

#4178D5 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)#4B81D90.027
Deuteranopia (no green cones)#3073D30.021
Tritanopia (no blue cones)#008E9C0.124
Achromatopsia (no color)#7A7A7A0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #4178D5

    #4178D5

    oklch(58.2% 0.154 260.2)

  • #A07200

    #A07200

    oklch(58.4% 0.121 80.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4178D5

    #4178D5

    oklch(58.2% 0.154 260.2)

  • #0086B2

    #0086B2

    oklch(58.1% 0.116 230.3)

  • #7C67CF

    #7C67CF

    oklch(58.3% 0.154 290.1)

Open the analogous palette in the generator

Split complementary

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

  • #4178D5

    #4178D5

    oklch(58.2% 0.154 260.2)

  • #C05900

    #C05900

    oklch(58.2% 0.154 50)

  • #808100

    #808100

    oklch(58.3% 0.128 110.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4178D5

    #4178D5

    oklch(58.2% 0.154 260.2)

  • #C64D53

    #C64D53

    oklch(58.3% 0.155 20.4)

  • #40902F

    #40902F

    oklch(58.2% 0.154 140.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4178D5

    #4178D5

    oklch(58.2% 0.154 260.2)

  • #BB4E87

    #BB4E87

    oklch(58.2% 0.154 350.4)

  • #A07200

    #A07200

    oklch(58.4% 0.121 80.5)

  • #009071

    #009071

    oklch(58.1% 0.114 170.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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