#40AFEF

Closest named color: Deep Sky Blue (#00BFFF). oklch(71.9% 0.136 238.4), rgb(64, 175, 239).

Aa

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

About this color

#40AFEF is a medium-light, moderately saturated blue. In OKLCH its lightness is 72%, its chroma 0.136 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sky Blue (#00BFFF), ΔE 0.044 away. Black text reads best on it, at 8.59:1.

Hue familyBlues
Lightnessmedium-light (72%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameDeep Sky Blue (#00BFFF)
Black text8.59:1
White text2.44:1

Values

HEX#40AFEF
RGBrgb(64, 175, 239)
HSLhsl(202, 85%, 59%)
OKLCHoklch(71.9% 0.136 238.4)

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 #40AFEF 2.44:1 Fails Lc -52.7 Large or bold text, headings
Black text on #40AFEF 8.59:1 AAA Lc 56.3 Large or bold text, headings
#40AFEF text on white 2.44:1 Fails Lc 47.7 Large or bold text, headings
#40AFEF text on black 8.59:1 AAA Lc -54.3 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

    #EFF7FC

    oklch(97.2% 0.011 234.8)

  2. Step 100

    100

    #DCEDF9

    oklch(93.7% 0.024 238.4)

  3. Step 200

    200

    #BDDEF5

    oklch(88.4% 0.047 238.5)

  4. Step 300

    300

    #8CC9F1

    oklch(80.9% 0.084 237.9)

  5. Step 400

    400 (this color)

    #40AFEF

    oklch(71.9% 0.136 238.4)

  6. Step 500

    500

    #0093D4

    oklch(63% 0.141 238.5)

  7. Step 600

    600

    #007CB3

    oklch(55.7% 0.124 238.2)

  8. Step 700

    700

    #006897

    oklch(49.1% 0.109 238.1)

  9. Step 800

    800

    #00557D

    oklch(42.7% 0.096 238.5)

  10. Step 900

    900

    #004769

    oklch(37.8% 0.084 238.3)

  11. Step 950

    950

    #002A40

    oklch(27% 0.06 237.8)

Export this scale for Tailwind in the Tailwind colors tool

#40AFEF 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)#91AFF20.075
Deuteranopia (no green cones)#799EEE0.061
Tritanopia (no blue cones)#00BFC50.090
Achromatopsia (no color)#A6A6A60.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #40AFEF

    #40AFEF

    oklch(71.9% 0.136 238.4)

  • #E28D44

    #E28D44

    oklch(71.9% 0.135 58.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40AFEF

    #40AFEF

    oklch(71.9% 0.136 238.4)

  • #00B9CD

    #00B9CD

    oklch(71.9% 0.124 208.4)

  • #81A0F9

    #81A0F9

    oklch(72% 0.135 268.3)

Open the analogous palette in the generator

Split complementary

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

  • #40AFEF

    #40AFEF

    oklch(71.9% 0.136 238.4)

  • #ED8173

    #ED8173

    oklch(72% 0.135 28.6)

  • #C79F28

    #C79F28

    oklch(72% 0.136 88.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40AFEF

    #40AFEF

    oklch(71.9% 0.136 238.4)

  • #E77EA3

    #E77EA3

    oklch(71.9% 0.135 358.6)

  • #9CB043

    #9CB043

    oklch(72% 0.136 118.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40AFEF

    #40AFEF

    oklch(71.9% 0.136 238.4)

  • #D284CE

    #D284CE

    oklch(71.9% 0.135 328.7)

  • #E28D44

    #E28D44

    oklch(71.9% 0.135 58.6)

  • #62BB73

    #62BB73

    oklch(71.8% 0.135 148.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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