#40A9EF

Closest named color: Chefchaouen Blue (#4895EF). oklch(70.5% 0.14 242.1), rgb(64, 169, 239).

Aa

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

About this color

#40A9EF is a medium-light, moderately saturated blue. In OKLCH its lightness is 71%, its chroma 0.140 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.054 away. Black text reads best on it, at 8.13:1.

Hue familyBlues
Lightnessmedium-light (71%)
Chromamoderately saturated (0.140)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text8.13:1
White text2.57:1

Values

HEX#40A9EF
RGBrgb(64, 169, 239)
HSLhsl(204, 85%, 59%)
OKLCHoklch(70.5% 0.14 242.1)

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 #40A9EF 2.57:1 Fails Lc -55.2 Large or bold text, headings
Black text on #40A9EF 8.13:1 AAA Lc 53.9 Large or bold text, headings
#40A9EF text on white 2.57:1 Fails Lc 50.1 Large or bold text, headings
#40A9EF text on black 8.13:1 AAA Lc -51.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

    #EFF7FD

    oklch(97.2% 0.012 239.9)

  2. Step 100

    100

    #DCECFA

    oklch(93.5% 0.026 244.4)

  3. Step 200

    200

    #BEDEF7

    oklch(88.5% 0.048 241.7)

  4. Step 300

    300

    #8EC8F5

    oklch(80.9% 0.088 242.5)

  5. Step 400

    400 (this color)

    #40A9EF

    oklch(70.5% 0.14 242.1)

  6. Step 500

    500

    #0092DB

    oklch(63.2% 0.149 241.7)

  7. Step 600

    600

    #007AB9

    oklch(55.5% 0.132 242.1)

  8. Step 700

    700

    #00679D

    oklch(49.2% 0.117 242)

  9. Step 800

    800

    #005481

    oklch(42.7% 0.101 241.9)

  10. Step 900

    900

    #00466D

    oklch(37.8% 0.09 242.2)

  11. Step 950

    950

    #002943

    oklch(27% 0.065 242.6)

Export this scale for Tailwind in the Tailwind colors tool

#40A9EF 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)#89AAF20.068
Deuteranopia (no green cones)#709AEE0.052
Tritanopia (no blue cones)#00BAC20.096
Achromatopsia (no color)#A1A1A10.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A9EF

    #40A9EF

    oklch(70.5% 0.14 242.1)

  • #DD8A35

    #DD8A35

    oklch(70.6% 0.14 62.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A9EF

    #40A9EF

    oklch(70.5% 0.14 242.1)

  • #00B4CC

    #00B4CC

    oklch(70.6% 0.123 211.4)

  • #8299F7

    #8299F7

    oklch(70.6% 0.14 272)

Open the analogous palette in the generator

Split complementary

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

  • #40A9EF

    #40A9EF

    oklch(70.5% 0.14 242.1)

  • #EA7C67

    #EA7C67

    oklch(70.6% 0.14 32)

  • #BF9C16

    #BF9C16

    oklch(70.5% 0.14 92)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A9EF

    #40A9EF

    oklch(70.5% 0.14 242.1)

  • #E67899

    #E67899

    oklch(70.6% 0.14 2.2)

  • #92AD3F

    #92AD3F

    oklch(70.5% 0.139 121.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A9EF

    #40A9EF

    oklch(70.5% 0.14 242.1)

  • #D27DC6

    #D27DC6

    oklch(70.5% 0.14 332.2)

  • #DD8A35

    #DD8A35

    oklch(70.6% 0.14 62.1)

  • #51B974

    #51B974

    oklch(70.7% 0.14 152.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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