#40A5DD

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.7% 0.124 237), rgb(64, 165, 221).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (69%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.64:1
White text2.74:1

Values

HEX#40A5DD
RGBrgb(64, 165, 221)
HSLhsl(201, 70%, 56%)
OKLCHoklch(68.7% 0.124 237)

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 #40A5DD 2.74:1 Fails Lc -58.0 Large or bold text, headings
Black text on #40A5DD 7.64:1 AAA Lc 51.3 Large or bold text, headings
#40A5DD text on white 2.74:1 Fails Lc 52.8 Large or bold text, headings
#40A5DD text on black 7.64:1 AAA Lc -49.1 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

    #DDEDF7

    oklch(93.7% 0.022 235)

  3. Step 200

    200

    #BFDEF2

    oklch(88.4% 0.043 236.3)

  4. Step 300

    300

    #91C9ED

    oklch(81% 0.077 237.2)

  5. Step 400

    400 (this color)

    #40A5DD

    oklch(68.7% 0.124 237)

  6. Step 500

    500

    #0094D2

    oklch(63.2% 0.138 237.1)

  7. Step 600

    600

    #007CB1

    oklch(55.6% 0.122 237.2)

  8. Step 700

    700

    #006895

    oklch(49% 0.107 237)

  9. Step 800

    800

    #00557B

    oklch(42.6% 0.093 237.2)

  10. Step 900

    900

    #004767

    oklch(37.7% 0.082 236.6)

  11. Step 950

    950

    #002A3F

    oklch(27% 0.059 236.5)

Export this scale for Tailwind in the Tailwind colors tool

#40A5DD 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)#8AA4E00.071
Deuteranopia (no green cones)#7595DC0.059
Tritanopia (no blue cones)#00B3B80.081
Achromatopsia (no color)#9C9C9C0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A5DD

    #40A5DD

    oklch(68.7% 0.124 237)

  • #D38547

    #D38547

    oklch(68.6% 0.123 57.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A5DD

    #40A5DD

    oklch(68.7% 0.124 237)

  • #00AEBF

    #00AEBF

    oklch(68.6% 0.118 207.1)

  • #7897E7

    #7897E7

    oklch(68.7% 0.124 267.1)

Open the analogous palette in the generator

Split complementary

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

  • #40A5DD

    #40A5DD

    oklch(68.7% 0.124 237)

  • #DD7B70

    #DD7B70

    oklch(68.9% 0.124 27.4)

  • #BB9530

    #BB9530

    oklch(68.7% 0.123 87.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A5DD

    #40A5DD

    oklch(68.7% 0.124 237)

  • #D6789C

    #D6789C

    oklch(68.6% 0.124 356.5)

  • #95A443

    #95A443

    oklch(68.7% 0.123 117.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A5DD

    #40A5DD

    oklch(68.7% 0.124 237)

  • #C37EC2

    #C37EC2

    oklch(68.8% 0.124 327.3)

  • #D38547

    #D38547

    oklch(68.6% 0.123 57.1)

  • #62AF6C

    #62AF6C

    oklch(68.7% 0.124 147)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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