#40A8FA

Closest named color: Chefchaouen Blue (#4895EF). oklch(70.9% 0.153 246.3), rgb(64, 168, 250).

Aa

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

About this color

#40A8FA is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.153 and its hue 246°. 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 8.19:1.

Hue familyBlues
Lightnessmedium-light (71%)
Chromavivid (0.153)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text8.19:1
White text2.56:1

Values

HEX#40A8FA
RGBrgb(64, 168, 250)
HSLhsl(206, 95%, 62%)
OKLCHoklch(70.9% 0.153 246.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 #40A8FA 2.56:1 Fails Lc -54.8 Large or bold text, headings
Black text on #40A8FA 8.19:1 AAA Lc 54.3 Large or bold text, headings
#40A8FA text on white 2.56:1 Fails Lc 49.7 Large or bold text, headings
#40A8FA text on black 8.19:1 AAA Lc -52.2 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

    #EFF7FE

    oklch(97.2% 0.013 244.3)

  2. Step 100

    100

    #DCECFC

    oklch(93.6% 0.028 248.1)

  3. Step 200

    200

    #BDDDFB

    oklch(88.4% 0.054 246.7)

  4. Step 300

    300

    #8DC7FB

    oklch(80.9% 0.095 246.4)

  5. Step 400

    400 (this color)

    #40A8FA

    oklch(70.9% 0.153 246.3)

  6. Step 500

    500

    #008FE5

    oklch(63.1% 0.163 246.3)

  7. Step 600

    600

    #0078C2

    oklch(55.6% 0.145 246.5)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #005287

    oklch(42.6% 0.111 246.5)

  10. Step 900

    900

    #004472

    oklch(37.6% 0.099 246.8)

  11. Step 950

    950

    #002846

    oklch(26.9% 0.07 246.6)

Export this scale for Tailwind in the Tailwind colors tool

#40A8FA 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)#82ABFD0.061
Deuteranopia (no green cones)#689AF80.044
Tritanopia (no blue cones)#00BCC50.111
Achromatopsia (no color)#A2A2A20.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A8FA

    #40A8FA

    oklch(70.9% 0.153 246.3)

  • #E08B15

    #E08B15

    oklch(71% 0.153 66.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A8FA

    #40A8FA

    oklch(70.9% 0.153 246.3)

  • #00B4D3

    #00B4D3

    oklch(70.9% 0.126 215.9)

  • #8996FF

    #8996FF

    oklch(70.9% 0.153 276.4)

Open the analogous palette in the generator

Split complementary

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

  • #40A8FA

    #40A8FA

    oklch(70.9% 0.153 246.3)

  • #F07A5A

    #F07A5A

    oklch(70.8% 0.153 36.1)

  • #BCA000

    #BCA000

    oklch(70.9% 0.146 96.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A8FA

    #40A8FA

    oklch(70.9% 0.153 246.3)

  • #EE7492

    #EE7492

    oklch(70.9% 0.153 6.3)

  • #89B23B

    #89B23B

    oklch(71% 0.153 126.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A8FA

    #40A8FA

    oklch(70.9% 0.153 246.3)

  • #DB79C5

    #DB79C5

    oklch(70.9% 0.153 336)

  • #E08B15

    #E08B15

    oklch(71% 0.153 66.3)

  • #35BD78

    #35BD78

    oklch(71% 0.154 156.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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