#4078EA

Closest named color: Clear Blue (#247AFD). oklch(59.6% 0.183 262.6), rgb(64, 120, 234).

Aa

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

About this color

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

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

Values

HEX#4078EA
RGBrgb(64, 120, 234)
HSLhsl(220, 80%, 58%)
OKLCHoklch(59.6% 0.183 262.6)

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 #4078EA 4.12:1 AA large text Lc -73.4 Content text, not long reading
Black text on #4078EA 5.09:1 AA Lc 36.2 Non-text elements, placeholder text
#4078EA text on white 4.12:1 AA large text Lc 67.9 Content text, not long reading
#4078EA text on black 5.09:1 AA Lc -33.7 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

    #A2C1FB

    oklch(80.9% 0.089 262.7)

  5. Step 400

    400

    #709EF9

    oklch(70.6% 0.143 262.9)

  6. Step 500

    500 (this color)

    #4078EA

    oklch(59.6% 0.183 262.6)

  7. Step 600

    600

    #2E69E5

    oklch(55.6% 0.199 262.6)

  8. Step 700

    700

    #2157C7

    oklch(49.2% 0.184 262.5)

  9. Step 800

    800

    #1D48A1

    oklch(42.8% 0.152 262.5)

  10. Step 900

    900

    #1D3D80

    oklch(37.7% 0.12 262.8)

  11. Step 950

    950

    #11244B

    oklch(26.9% 0.077 262.8)

Export this scale for Tailwind in the Tailwind colors tool

#4078EA 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)#3685EE0.033
Deuteranopia (no green cones)#0076E80.032
Tritanopia (no blue cones)#0093A60.144
Achromatopsia (no color)#7D7D7D0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #4078EA

    #4078EA

    oklch(59.6% 0.183 262.6)

  • #A37700

    #A37700

    oklch(59.7% 0.123 82.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4078EA

    #4078EA

    oklch(59.6% 0.183 262.6)

  • #008ABB

    #008ABB

    oklch(59.5% 0.122 232.5)

  • #8563E0

    #8563E0

    oklch(59.5% 0.183 292.5)

Open the analogous palette in the generator

Split complementary

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

  • #4078EA

    #4078EA

    oklch(59.6% 0.183 262.6)

  • #C35F00

    #C35F00

    oklch(59.6% 0.153 52.3)

  • #818600

    #818600

    oklch(59.6% 0.132 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4078EA

    #4078EA

    oklch(59.6% 0.183 262.6)

  • #D64449

    #D64449

    oklch(59.6% 0.182 22.8)

  • #269823

    #269823

    oklch(59.5% 0.182 142.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4078EA

    #4078EA

    oklch(59.6% 0.183 262.6)

  • #CB4489

    #CB4489

    oklch(59.5% 0.183 352.5)

  • #A37700

    #A37700

    oklch(59.7% 0.123 82.6)

  • #009578

    #009578

    oklch(59.7% 0.115 172.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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