#40A1DA

Closest named color: Chefchaouen Blue (#4895EF). oklch(67.7% 0.123 238.4), rgb(64, 161, 218).

Aa

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

About this color

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

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

Values

HEX#40A1DA
RGBrgb(64, 161, 218)
HSLhsl(202, 68%, 55%)
OKLCHoklch(67.7% 0.123 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 #40A1DA 2.86:1 Fails Lc -59.8 Large or bold text, headings
Black text on #40A1DA 7.32:1 AAA Lc 49.5 Large or bold text, headings
#40A1DA text on white 2.86:1 Fails Lc 54.5 Large or bold text, headings
#40A1DA text on black 7.32:1 AAA Lc -47.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

    #DDECF7

    oklch(93.5% 0.022 239.4)

  3. Step 200

    200

    #C0DEF3

    oklch(88.5% 0.043 238.5)

  4. Step 300

    300

    #92C8ED

    oklch(80.8% 0.077 238.9)

  5. Step 400

    400 (this color)

    #40A1DA

    oklch(67.7% 0.123 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

#40A1DA 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)#86A1DD0.068
Deuteranopia (no green cones)#7192D90.055
Tritanopia (no blue cones)#00AFB50.081
Achromatopsia (no color)#9999990.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A1DA

    #40A1DA

    oklch(67.7% 0.123 238.4)

  • #CF8343

    #CF8343

    oklch(67.7% 0.123 58.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A1DA

    #40A1DA

    oklch(67.7% 0.123 238.4)

  • #00AABD

    #00AABD

    oklch(67.5% 0.116 208.8)

  • #7793E3

    #7793E3

    oklch(67.6% 0.123 268.4)

Open the analogous palette in the generator

Split complementary

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

  • #40A1DA

    #40A1DA

    oklch(67.7% 0.123 238.4)

  • #D8786B

    #D8786B

    oklch(67.6% 0.122 28.8)

  • #B6922C

    #B6922C

    oklch(67.6% 0.123 88.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A1DA

    #40A1DA

    oklch(67.7% 0.123 238.4)

  • #D37596

    #D37596

    oklch(67.6% 0.123 358.5)

  • #90A142

    #90A142

    oklch(67.6% 0.122 118.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A1DA

    #40A1DA

    oklch(67.7% 0.123 238.4)

  • #C07BBD

    #C07BBD

    oklch(67.7% 0.122 328.3)

  • #CF8343

    #CF8343

    oklch(67.7% 0.123 58.5)

  • #5DAC6B

    #5DAC6B

    oklch(67.7% 0.123 148.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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