#40A0EA

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.3% 0.141 245.5), rgb(64, 160, 234).

Aa

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

About this color

#40A0EA is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.141 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.032 away. Black text reads best on it, at 7.43:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.141)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.43:1
White text2.82:1

Values

HEX#40A0EA
RGBrgb(64, 160, 234)
HSLhsl(206, 80%, 58%)
OKLCHoklch(68.3% 0.141 245.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 #40A0EA 2.82:1 Fails Lc -59.2 Large or bold text, headings
Black text on #40A0EA 7.43:1 AAA Lc 50.1 Large or bold text, headings
#40A0EA text on white 2.82:1 Fails Lc 53.9 Large or bold text, headings
#40A0EA text on black 7.43:1 AAA Lc -47.9 Large or bold text, headings

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

  1. Step 50

    50

    #EFF6FD

    oklch(97% 0.012 248)

  2. Step 100

    100

    #DCECFA

    oklch(93.5% 0.026 244.4)

  3. Step 200

    200

    #BFDDF8

    oklch(88.4% 0.049 245.6)

  4. Step 300

    300

    #90C7F6

    oklch(80.9% 0.088 245)

  5. Step 400

    400 (this color)

    #40A0EA

    oklch(68.3% 0.141 245.5)

  6. Step 500

    500

    #0090E3

    oklch(63.2% 0.16 245.3)

  7. Step 600

    600

    #0079C0

    oklch(55.7% 0.141 245.3)

  8. Step 700

    700

    #0065A2

    oklch(49% 0.125 245.5)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  10. Step 900

    900

    #004571

    oklch(37.8% 0.096 245.5)

  11. Step 950

    950

    #002945

    oklch(27.1% 0.068 244.5)

Export this scale for Tailwind in the Tailwind colors tool

#40A0EA 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)#7EA3ED0.059
Deuteranopia (no green cones)#6693E90.043
Tritanopia (no blue cones)#00B2BA0.102
Achromatopsia (no color)#9A9A9A0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A0EA

    #40A0EA

    oklch(68.3% 0.141 245.5)

  • #D38423

    #D38423

    oklch(68.2% 0.141 65.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A0EA

    #40A0EA

    oklch(68.3% 0.141 245.5)

  • #00ABC8

    #00ABC8

    oklch(68.3% 0.121 215.6)

  • #8190EF

    #8190EF

    oklch(68.3% 0.141 275.3)

Open the analogous palette in the generator

Split complementary

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

  • #40A0EA

    #40A0EA

    oklch(68.3% 0.141 245.5)

  • #E2765A

    #E2765A

    oklch(68.3% 0.141 35.6)

  • #B49700

    #B49700

    oklch(68.2% 0.14 95.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A0EA

    #40A0EA

    oklch(68.3% 0.141 245.5)

  • #E0708D

    #E0708D

    oklch(68.3% 0.142 5.2)

  • #84A83C

    #84A83C

    oklch(68.3% 0.141 125.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A0EA

    #40A0EA

    oklch(68.3% 0.141 245.5)

  • #CE75BB

    #CE75BB

    oklch(68.3% 0.141 335.4)

  • #D38423

    #D38423

    oklch(68.2% 0.141 65.3)

  • #3DB272

    #3DB272

    oklch(68.2% 0.141 155.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40A0EA 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.