#40A3DF

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.4% 0.127 239.3), rgb(64, 163, 223).

Aa

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

About this color

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

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

Values

HEX#40A3DF
RGBrgb(64, 163, 223)
HSLhsl(203, 71%, 56%)
OKLCHoklch(68.4% 0.127 239.3)

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 #40A3DF 2.79:1 Fails Lc -58.7 Large or bold text, headings
Black text on #40A3DF 7.52:1 AAA Lc 50.6 Large or bold text, headings
#40A3DF text on white 2.79:1 Fails Lc 53.4 Large or bold text, headings
#40A3DF text on black 7.52:1 AAA Lc -48.4 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

    #C0DEF4

    oklch(88.6% 0.044 239.8)

  4. Step 300

    300

    #91C8EF

    oklch(80.9% 0.08 239.9)

  5. Step 400

    400 (this color)

    #40A3DF

    oklch(68.4% 0.127 239.3)

  6. Step 500

    500

    #0093D6

    oklch(63.1% 0.143 239.3)

  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

    #00466A

    oklch(37.6% 0.086 240.1)

  11. Step 950

    950

    #002A41

    oklch(27.1% 0.061 239)

Export this scale for Tailwind in the Tailwind colors tool

#40A3DF 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)#87A3E20.068
Deuteranopia (no green cones)#7194DE0.055
Tritanopia (no blue cones)#00B2B80.085
Achromatopsia (no color)#9B9B9B0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A3DF

    #40A3DF

    oklch(68.4% 0.127 239.3)

  • #D28440

    #D28440

    oklch(68.3% 0.127 59.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A3DF

    #40A3DF

    oklch(68.4% 0.127 239.3)

  • #00ADC1

    #00ADC1

    oklch(68.5% 0.118 209.3)

  • #7A95E8

    #7A95E8

    oklch(68.5% 0.127 269.2)

Open the analogous palette in the generator

Split complementary

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

  • #40A3DF

    #40A3DF

    oklch(68.4% 0.127 239.3)

  • #DD796B

    #DD796B

    oklch(68.4% 0.127 29.1)

  • #B99528

    #B99528

    oklch(68.5% 0.127 89.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A3DF

    #40A3DF

    oklch(68.4% 0.127 239.3)

  • #D87697

    #D87697

    oklch(68.4% 0.127 359.5)

  • #91A441

    #91A441

    oklch(68.3% 0.126 119)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A3DF

    #40A3DF

    oklch(68.4% 0.127 239.3)

  • #C47BBF

    #C47BBF

    oklch(68.3% 0.127 329.3)

  • #D28440

    #D28440

    oklch(68.3% 0.127 59.1)

  • #5BAF6D

    #5BAF6D

    oklch(68.4% 0.127 149.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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