#40A6EE

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.8% 0.141 243.5), rgb(64, 166, 238).

Aa

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

About this color

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

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

Values

HEX#40A6EE
RGBrgb(64, 166, 238)
HSLhsl(205, 84%, 59%)
OKLCHoklch(69.8% 0.141 243.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 #40A6EE 2.65:1 Fails Lc -56.5 Large or bold text, headings
Black text on #40A6EE 7.90:1 AAA Lc 52.7 Large or bold text, headings
#40A6EE text on white 2.65:1 Fails Lc 51.3 Large or bold text, headings
#40A6EE text on black 7.90:1 AAA Lc -50.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

    #BEDEF8

    oklch(88.6% 0.049 242.8)

  4. Step 300

    300

    #8FC8F6

    oklch(81% 0.088 243.5)

  5. Step 400

    400 (this color)

    #40A6EE

    oklch(69.8% 0.141 243.5)

  6. Step 500

    500

    #0091DE

    oklch(63.1% 0.153 243.2)

  7. Step 600

    600

    #007ABC

    oklch(55.7% 0.136 243.3)

  8. Step 700

    700

    #00669F

    oklch(49.1% 0.12 243.6)

  9. Step 800

    800

    #005383

    oklch(42.6% 0.105 243.8)

  10. Step 900

    900

    #00456E

    oklch(37.6% 0.092 243.7)

  11. Step 950

    950

    #002944

    oklch(27% 0.066 243.6)

Export this scale for Tailwind in the Tailwind colors tool

#40A6EE 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)#85A8F10.065
Deuteranopia (no green cones)#6D97ED0.051
Tritanopia (no blue cones)#00B8BF0.100
Achromatopsia (no color)#9F9F9F0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A6EE

    #40A6EE

    oklch(69.8% 0.141 243.5)

  • #DA882E

    #DA882E

    oklch(69.8% 0.141 63.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A6EE

    #40A6EE

    oklch(69.8% 0.141 243.5)

  • #00B1CB

    #00B1CB

    oklch(69.9% 0.122 213)

  • #8296F5

    #8296F5

    oklch(69.9% 0.141 273.2)

Open the analogous palette in the generator

Split complementary

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

  • #40A6EE

    #40A6EE

    oklch(69.8% 0.141 243.5)

  • #E87A62

    #E87A62

    oklch(69.9% 0.141 33.5)

  • #BB9B0C

    #BB9B0C

    oklch(69.8% 0.141 93.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A6EE

    #40A6EE

    oklch(69.8% 0.141 243.5)

  • #E47595

    #E47595

    oklch(69.8% 0.141 3.1)

  • #8DAC3E

    #8DAC3E

    oklch(69.9% 0.141 123.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A6EE

    #40A6EE

    oklch(69.8% 0.141 243.5)

  • #D17AC2

    #D17AC2

    oklch(69.7% 0.141 333.6)

  • #DA882E

    #DA882E

    oklch(69.8% 0.141 63.4)

  • #4AB773

    #4AB773

    oklch(69.9% 0.142 153.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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