#40A4EC

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.3% 0.14 243.9), rgb(64, 164, 236).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (69%)
Chromavivid (0.140)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.73:1
White text2.71:1

Values

HEX#40A4EC
RGBrgb(64, 164, 236)
HSLhsl(205, 82%, 59%)
OKLCHoklch(69.3% 0.14 243.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 #40A4EC 2.71:1 Fails Lc -57.4 Large or bold text, headings
Black text on #40A4EC 7.73:1 AAA Lc 51.8 Large or bold text, headings
#40A4EC text on white 2.71:1 Fails Lc 52.2 Large or bold text, headings
#40A4EC text on black 7.73:1 AAA Lc -49.6 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

    #EFF7FD

    oklch(97.2% 0.012 239.9)

  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

    #8FC7F5

    oklch(80.8% 0.088 243.9)

  5. Step 400

    400 (this color)

    #40A4EC

    oklch(69.3% 0.14 243.9)

  6. Step 500

    500

    #0091DF

    oklch(63.2% 0.154 243.6)

  7. Step 600

    600

    #0079BD

    oklch(55.5% 0.138 244.2)

  8. Step 700

    700

    #00669F

    oklch(49.1% 0.12 243.6)

  9. Step 800

    800

    #005384

    oklch(42.6% 0.106 244.3)

  10. Step 900

    900

    #00456F

    oklch(37.6% 0.093 244.3)

  11. Step 950

    950

    #002944

    oklch(27% 0.066 243.6)

Export this scale for Tailwind in the Tailwind colors tool

#40A4EC 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)#83A6EF0.063
Deuteranopia (no green cones)#6B96EB0.048
Tritanopia (no blue cones)#00B6BD0.100
Achromatopsia (no color)#9D9D9D0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A4EC

    #40A4EC

    oklch(69.3% 0.14 243.9)

  • #D7872C

    #D7872C

    oklch(69.2% 0.14 64.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A4EC

    #40A4EC

    oklch(69.3% 0.14 243.9)

  • #00AFCA

    #00AFCA

    oklch(69.3% 0.122 213.9)

  • #8294F2

    #8294F2

    oklch(69.3% 0.139 274)

Open the analogous palette in the generator

Split complementary

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

  • #40A4EC

    #40A4EC

    oklch(69.3% 0.14 243.9)

  • #E57960

    #E57960

    oklch(69.3% 0.139 34.2)

  • #B9990A

    #B9990A

    oklch(69.2% 0.14 93.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A4EC

    #40A4EC

    oklch(69.3% 0.14 243.9)

  • #E27492

    #E27492

    oklch(69.3% 0.139 4.1)

  • #8AAA3D

    #8AAA3D

    oklch(69.2% 0.14 124)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A4EC

    #40A4EC

    oklch(69.3% 0.14 243.9)

  • #CF79C0

    #CF79C0

    oklch(69.2% 0.139 333.7)

  • #D7872C

    #D7872C

    oklch(69.2% 0.14 64.2)

  • #47B573

    #47B573

    oklch(69.3% 0.14 154)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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