#40A1EA

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.5% 0.14 244.9), rgb(64, 161, 234).

Aa

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

About this color

#40A1EA is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.140 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.035 away. Black text reads best on it, at 7.50:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.140)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.50:1
White text2.79:1

Values

HEX#40A1EA
RGBrgb(64, 161, 234)
HSLhsl(206, 80%, 58%)
OKLCHoklch(68.5% 0.14 244.9)

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 #40A1EA 2.79:1 Fails Lc -58.8 Large or bold text, headings
Black text on #40A1EA 7.50:1 AAA Lc 50.5 Large or bold text, headings
#40A1EA text on white 2.79:1 Fails Lc 53.5 Large or bold text, headings
#40A1EA text on black 7.50:1 AAA Lc -48.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

    #EFF6FD

    oklch(97% 0.012 248)

  2. Step 100

    100

    #DCECFA

    oklch(93.5% 0.026 244.4)

  3. Step 200

    200

    #BFDDF8

    oklch(88.4% 0.049 245.6)

  4. Step 300

    300

    #90C7F6

    oklch(80.9% 0.088 245)

  5. Step 400

    400 (this color)

    #40A1EA

    oklch(68.5% 0.14 244.9)

  6. Step 500

    500

    #0090E2

    oklch(63.1% 0.159 245)

  7. Step 600

    600

    #0079BF

    oklch(55.7% 0.14 245)

  8. Step 700

    700

    #0065A1

    oklch(49% 0.124 245.1)

  9. Step 800

    800

    #005385

    oklch(42.7% 0.107 244.8)

  10. Step 900

    900

    #004570

    oklch(37.7% 0.095 244.9)

  11. Step 950

    950

    #002945

    oklch(27.1% 0.068 244.5)

Export this scale for Tailwind in the Tailwind colors tool

#40A1EA 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)#80A3ED0.061
Deuteranopia (no green cones)#6893E90.046
Tritanopia (no blue cones)#00B3BB0.101
Achromatopsia (no color)#9A9A9A0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A1EA

    #40A1EA

    oklch(68.5% 0.14 244.9)

  • #D48527

    #D48527

    oklch(68.5% 0.14 65)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A1EA

    #40A1EA

    oklch(68.5% 0.14 244.9)

  • #00ACC8

    #00ACC8

    oklch(68.5% 0.121 214.8)

  • #8191F0

    #8191F0

    oklch(68.5% 0.141 274.8)

Open the analogous palette in the generator

Split complementary

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

  • #40A1EA

    #40A1EA

    oklch(68.5% 0.14 244.9)

  • #E2765C

    #E2765C

    oklch(68.4% 0.14 34.6)

  • #B59802

    #B59802

    oklch(68.6% 0.14 95.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A1EA

    #40A1EA

    oklch(68.5% 0.14 244.9)

  • #E0718E

    #E0718E

    oklch(68.5% 0.141 4.9)

  • #86A83C

    #86A83C

    oklch(68.4% 0.14 124.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A1EA

    #40A1EA

    oklch(68.5% 0.14 244.9)

  • #CE76BC

    #CE76BC

    oklch(68.5% 0.14 335)

  • #D48527

    #D48527

    oklch(68.5% 0.14 65)

  • #41B372

    #41B372

    oklch(68.6% 0.141 154.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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