#40A2DD

Closest named color: Chefchaouen Blue (#4895EF). oklch(68% 0.125 239.1), rgb(64, 162, 221).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (68%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.43:1
White text2.82:1

Values

HEX#40A2DD
RGBrgb(64, 162, 221)
HSLhsl(203, 70%, 56%)
OKLCHoklch(68% 0.125 239.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 #40A2DD 2.82:1 Fails Lc -59.2 Large or bold text, headings
Black text on #40A2DD 7.43:1 AAA Lc 50.1 Large or bold text, headings
#40A2DD text on white 2.82:1 Fails Lc 53.9 Large or bold text, headings
#40A2DD text on black 7.43:1 AAA Lc -47.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

    #EFF7FC

    oklch(97.2% 0.011 234.8)

  2. Step 100

    100

    #DDECF8

    oklch(93.5% 0.023 241.9)

  3. Step 200

    200

    #C0DEF3

    oklch(88.5% 0.043 238.5)

  4. Step 300

    300

    #91C8EE

    oklch(80.8% 0.079 239.1)

  5. Step 400

    400 (this color)

    #40A2DD

    oklch(68% 0.125 239.1)

  6. Step 500

    500

    #0093D5

    oklch(63.1% 0.142 238.9)

  7. Step 600

    600

    #007BB4

    oklch(55.5% 0.126 239.3)

  8. Step 700

    700

    #006898

    oklch(49.2% 0.11 238.7)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #004769

    oklch(37.8% 0.084 238.3)

  11. Step 950

    950

    #002A41

    oklch(27.1% 0.061 239)

Export this scale for Tailwind in the Tailwind colors tool

#40A2DD 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)#86A2E00.067
Deuteranopia (no green cones)#7193DC0.055
Tritanopia (no blue cones)#00B1B60.085
Achromatopsia (no color)#9A9A9A0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A2DD

    #40A2DD

    oklch(68% 0.125 239.1)

  • #D18441

    #D18441

    oklch(68.1% 0.125 59.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A2DD

    #40A2DD

    oklch(68% 0.125 239.1)

  • #00ACBF

    #00ACBF

    oklch(68.1% 0.117 208.7)

  • #7994E6

    #7994E6

    oklch(68.1% 0.125 269.1)

Open the analogous palette in the generator

Split complementary

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

  • #40A2DD

    #40A2DD

    oklch(68% 0.125 239.1)

  • #DB786B

    #DB786B

    oklch(68% 0.126 28.6)

  • #B7942A

    #B7942A

    oklch(68.1% 0.125 89.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A2DD

    #40A2DD

    oklch(68% 0.125 239.1)

  • #D67596

    #D67596

    oklch(68% 0.126 359.3)

  • #90A341

    #90A341

    oklch(68% 0.126 119.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A2DD

    #40A2DD

    oklch(68% 0.125 239.1)

  • #C37BBE

    #C37BBE

    oklch(68.1% 0.125 329.3)

  • #D18441

    #D18441

    oklch(68.1% 0.125 59.2)

  • #5BAE6D

    #5BAE6D

    oklch(68.1% 0.125 149.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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