#40B4FF

Closest named color: Deep Sky Blue (#00BFFF). oklch(73.8% 0.149 241.7), rgb(64, 180, 255).

Aa

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

About this color

#40B4FF is a medium-light, vivid blue. In OKLCH its lightness is 74%, its chroma 0.149 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sky Blue (#00BFFF), ΔE 0.032 away. Black text reads best on it, at 9.19:1.

Hue familyBlues
Lightnessmedium-light (74%)
Chromavivid (0.149)
Temperaturecool
Nearest nameDeep Sky Blue (#00BFFF)
Black text9.19:1
White text2.28:1

Values

HEX#40B4FF
RGBrgb(64, 180, 255)
HSLhsl(204, 100%, 63%)
OKLCHoklch(73.8% 0.149 241.7)

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 #40B4FF 2.28:1 Fails Lc -49.5 Large or bold text, headings
Black text on #40B4FF 9.19:1 AAA Lc 59.3 Large or bold text, headings
#40B4FF text on white 2.28:1 Fails Lc 44.7 Non-text elements, placeholder text
#40B4FF text on black 9.19:1 AAA Lc -57.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

    #EEF7FD

    oklch(97.1% 0.013 236.6)

  2. Step 100

    100

    #DBEDFB

    oklch(93.7% 0.027 241.2)

  3. Step 200

    200

    #BCDEF9

    oklch(88.5% 0.052 242.2)

  4. Step 300

    300

    #89C8F8

    oklch(80.8% 0.094 242.2)

  5. Step 400

    400 (this color)

    #40B4FF

    oklch(73.8% 0.149 241.7)

  6. Step 500

    500

    #0092DB

    oklch(63.2% 0.149 241.7)

  7. Step 600

    600

    #007AB8

    oklch(55.5% 0.131 241.7)

  8. Step 700

    700

    #00679C

    oklch(49.2% 0.116 241.5)

  9. Step 800

    800

    #005481

    oklch(42.7% 0.101 241.9)

  10. Step 900

    900

    #00466C

    oklch(37.7% 0.089 241.5)

  11. Step 950

    950

    #002942

    oklch(26.9% 0.063 241.6)

Export this scale for Tailwind in the Tailwind colors tool

#40B4FF 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)#91B5FF0.072
Deuteranopia (no green cones)#77A3FE0.058
Tritanopia (no blue cones)#00C7CE0.103
Achromatopsia (no color)#ABABAB0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B4FF

    #40B4FF

    oklch(73.8% 0.149 241.7)

  • #EC9236

    #EC9236

    oklch(73.8% 0.149 61.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B4FF

    #40B4FF

    oklch(73.8% 0.149 241.7)

  • #00BFD9

    #00BFD9

    oklch(73.8% 0.129 211.8)

  • #8CA4FF

    #8CA4FF

    oklch(73.8% 0.135 271.6)

Open the analogous palette in the generator

Split complementary

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

  • #40B4FF

    #40B4FF

    oklch(73.8% 0.149 241.7)

  • #FA836D

    #FA836D

    oklch(73.9% 0.15 31.8)

  • #CCA60D

    #CCA60D

    oklch(73.8% 0.149 92)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B4FF

    #40B4FF

    oklch(73.8% 0.149 241.7)

  • #F57FA3

    #F57FA3

    oklch(73.9% 0.148 2)

  • #9BB840

    #9BB840

    oklch(73.7% 0.149 121.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B4FF

    #40B4FF

    oklch(73.8% 0.149 241.7)

  • #E085D4

    #E085D4

    oklch(73.9% 0.149 331.9)

  • #EC9236

    #EC9236

    oklch(73.8% 0.149 61.7)

  • #56C47A

    #56C47A

    oklch(73.7% 0.147 151.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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