#40A9F8

Closest named color: Chefchaouen Blue (#4895EF). oklch(71% 0.15 245.2), rgb(64, 169, 248).

Aa

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

About this color

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

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

Values

HEX#40A9F8
RGBrgb(64, 169, 248)
HSLhsl(206, 93%, 61%)
OKLCHoklch(71% 0.15 245.2)

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 #40A9F8 2.54:1 Fails Lc -54.6 Large or bold text, headings
Black text on #40A9F8 8.24:1 AAA Lc 54.5 Large or bold text, headings
#40A9F8 text on white 2.54:1 Fails Lc 49.5 Large or bold text, headings
#40A9F8 text on black 8.24:1 AAA Lc -52.5 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

    #DCECFB

    oklch(93.6% 0.027 246.3)

  3. Step 200

    200

    #BDDDFA

    oklch(88.4% 0.053 245.8)

  4. Step 300

    300

    #8DC7F9

    oklch(80.8% 0.093 245.3)

  5. Step 400

    400 (this color)

    #40A9F8

    oklch(71% 0.15 245.2)

  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

    #0065A2

    oklch(49% 0.125 245.5)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  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

#40A9F8 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)#85ACFB0.064
Deuteranopia (no green cones)#6B9BF70.046
Tritanopia (no blue cones)#00BCC50.106
Achromatopsia (no color)#A2A2A20.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A9F8

    #40A9F8

    oklch(71% 0.15 245.2)

  • #E08B21

    #E08B21

    oklch(71% 0.15 65.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A9F8

    #40A9F8

    oklch(71% 0.15 245.2)

  • #00B4D2

    #00B4D2

    oklch(70.9% 0.125 215.3)

  • #8898FE

    #8898FE

    oklch(71.1% 0.149 275.2)

Open the analogous palette in the generator

Split complementary

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

  • #40A9F8

    #40A9F8

    oklch(71% 0.15 245.2)

  • #EF7B5E

    #EF7B5E

    oklch(70.9% 0.149 35.1)

  • #BE9F00

    #BE9F00

    oklch(70.9% 0.146 95)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A9F8

    #40A9F8

    oklch(71% 0.15 245.2)

  • #ED7695

    #ED7695

    oklch(71.1% 0.149 5.1)

  • #8CB13C

    #8CB13C

    oklch(71% 0.149 125.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A9F8

    #40A9F8

    oklch(71% 0.15 245.2)

  • #DA7BC6

    #DA7BC6

    oklch(71.1% 0.149 335.3)

  • #E08B21

    #E08B21

    oklch(71% 0.15 65.1)

  • #3FBC77

    #3FBC77

    oklch(70.9% 0.149 155.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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