#40A5EA

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.4% 0.137 242.6), rgb(64, 165, 234).

Aa

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

About this color

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

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

Values

HEX#40A5EA
RGBrgb(64, 165, 234)
HSLhsl(204, 80%, 58%)
OKLCHoklch(69.4% 0.137 242.6)

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 #40A5EA 2.69:1 Fails Lc -57.2 Large or bold text, headings
Black text on #40A5EA 7.78:1 AAA Lc 52.1 Large or bold text, headings
#40A5EA text on white 2.69:1 Fails Lc 52.0 Large or bold text, headings
#40A5EA text on black 7.78:1 AAA Lc -49.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

    #DCECF9

    oklch(93.5% 0.025 242.3)

  3. Step 200

    200

    #BFDEF7

    oklch(88.6% 0.048 242.5)

  4. Step 300

    300

    #8FC8F4

    oklch(81% 0.086 242.3)

  5. Step 400

    400 (this color)

    #40A5EA

    oklch(69.4% 0.137 242.6)

  6. Step 500

    500

    #0091DC

    oklch(63% 0.151 242.6)

  7. Step 600

    600

    #007ABA

    oklch(55.6% 0.133 242.5)

  8. Step 700

    700

    #00669D

    oklch(49% 0.118 242.7)

  9. Step 800

    800

    #005482

    oklch(42.8% 0.102 242.4)

  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

#40A5EA 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)#85A6ED0.065
Deuteranopia (no green cones)#6E96E90.052
Tritanopia (no blue cones)#00B6BD0.096
Achromatopsia (no color)#9D9D9D0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A5EA

    #40A5EA

    oklch(69.4% 0.137 242.6)

  • #D88733

    #D88733

    oklch(69.4% 0.138 62.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A5EA

    #40A5EA

    oklch(69.4% 0.137 242.6)

  • #00AFC9

    #00AFC9

    oklch(69.3% 0.121 213.2)

  • #8095F1

    #8095F1

    oklch(69.3% 0.137 272.6)

Open the analogous palette in the generator

Split complementary

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

  • #40A5EA

    #40A5EA

    oklch(69.4% 0.137 242.6)

  • #E57964

    #E57964

    oklch(69.4% 0.138 32.2)

  • #BA9916

    #BA9916

    oklch(69.3% 0.137 92.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A5EA

    #40A5EA

    oklch(69.4% 0.137 242.6)

  • #E17595

    #E17595

    oklch(69.4% 0.138 2.5)

  • #8DAA3F

    #8DAA3F

    oklch(69.4% 0.137 122.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A5EA

    #40A5EA

    oklch(69.4% 0.137 242.6)

  • #CE7AC1

    #CE7AC1

    oklch(69.3% 0.138 332.8)

  • #D88733

    #D88733

    oklch(69.4% 0.138 62.4)

  • #4EB572

    #4EB572

    oklch(69.5% 0.138 152.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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