#4078C5

Closest named color: Windows Blue (#3778BF). oklch(57.2% 0.133 256.9), rgb(64, 120, 197).

Aa

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

About this color

#4078C5 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.133 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.013 away. Black text reads best on it, at 4.71:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.71:1
White text4.45:1

Values

HEX#4078C5
RGBrgb(64, 120, 197)
HSLhsl(215, 53%, 51%)
OKLCHoklch(57.2% 0.133 256.9)

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 #4078C5 4.45:1 AA large text Lc -76.1 Fine for body text
Black text on #4078C5 4.71:1 AA Lc 33.4 Non-text elements, placeholder text
#4078C5 text on white 4.45:1 AA large text Lc 70.7 Content text, not long reading
#4078C5 text on black 4.71:1 AA Lc -31.0 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EBF6

    oklch(93.7% 0.017 256.3)

  3. Step 200

    200

    #CBDAF0

    oklch(88.4% 0.034 257.9)

  4. Step 300

    300

    #A8C3E8

    oklch(81% 0.06 256.3)

  5. Step 400

    400

    #7AA3DC

    oklch(70.8% 0.095 256.7)

  6. Step 500

    500

    #578BD3

    oklch(63.2% 0.123 256.8)

  7. Step 600

    600 (this color)

    #4078C5

    oklch(57.2% 0.133 256.9)

  8. Step 700

    700

    #2D60A5

    oklch(49% 0.124 256.8)

  9. Step 800

    800

    #274F86

    oklch(42.8% 0.102 256.9)

  10. Step 900

    900

    #24426B

    oklch(37.7% 0.079 256.6)

  11. Step 950

    950

    #16273F

    oklch(27.1% 0.05 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#4078C5 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)#557EC80.029
Deuteranopia (no green cones)#4172C30.016
Tritanopia (no blue cones)#008A950.107
Achromatopsia (no color)#7777770.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #4078C5

    #4078C5

    oklch(57.2% 0.133 256.9)

  • #9F6D00

    #9F6D00

    oklch(57.2% 0.12 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4078C5

    #4078C5

    oklch(57.2% 0.133 256.9)

  • #0084AA

    #0084AA

    oklch(57.2% 0.11 226.9)

  • #7469C2

    #7469C2

    oklch(57.2% 0.134 287)

Open the analogous palette in the generator

Split complementary

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

  • #4078C5

    #4078C5

    oklch(57.2% 0.133 256.9)

  • #B65B28

    #B65B28

    oklch(57.3% 0.134 47)

  • #817C00

    #817C00

    oklch(57.2% 0.123 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4078C5

    #4078C5

    oklch(57.2% 0.133 256.9)

  • #B9525B

    #B9525B

    oklch(57.2% 0.133 17)

  • #4F8934

    #4F8934

    oklch(57.1% 0.133 137)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4078C5

    #4078C5

    oklch(57.2% 0.133 256.9)

  • #AE5387

    #AE5387

    oklch(57.1% 0.134 346.8)

  • #9F6D00

    #9F6D00

    oklch(57.2% 0.12 77)

  • #008D69

    #008D69

    oklch(57.1% 0.117 167.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4078C5 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.