#40B1FA

Closest named color: Deep Sky Blue (#00BFFF). oklch(72.9% 0.146 241.5), rgb(64, 177, 250).

Aa

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

About this color

#40B1FA is a medium-light, vivid blue. In OKLCH its lightness is 73%, its chroma 0.146 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.038 away. Black text reads best on it, at 8.88:1.

Hue familyBlues
Lightnessmedium-light (73%)
Chromavivid (0.146)
Temperaturecool
Nearest nameDeep Sky Blue (#00BFFF)
Black text8.88:1
White text2.36:1

Values

HEX#40B1FA
RGBrgb(64, 177, 250)
HSLhsl(204, 95%, 62%)
OKLCHoklch(72.9% 0.146 241.5)

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 #40B1FA 2.36:1 Fails Lc -51.1 Large or bold text, headings
Black text on #40B1FA 8.88:1 AAA Lc 57.8 Large or bold text, headings
#40B1FA text on white 2.36:1 Fails Lc 46.2 Large or bold text, headings
#40B1FA text on black 8.88:1 AAA Lc -55.9 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

    #EFF7FD

    oklch(97.2% 0.012 239.9)

  2. Step 100

    100

    #DBEDFA

    oklch(93.7% 0.026 239.1)

  3. Step 200

    200

    #BDDEF8

    oklch(88.5% 0.05 241.9)

  4. Step 300

    300

    #8BC8F6

    oklch(80.8% 0.091 241.8)

  5. Step 400

    400 (this color)

    #40B1FA

    oklch(72.9% 0.146 241.5)

  6. Step 500

    500

    #0092DA

    oklch(63.1% 0.148 241.4)

  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

#40B1FA 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)#8FB2FD0.071
Deuteranopia (no green cones)#75A1F90.056
Tritanopia (no blue cones)#00C3CB0.099
Achromatopsia (no color)#A9A9A90.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B1FA

    #40B1FA

    oklch(72.9% 0.146 241.5)

  • #E89037

    #E89037

    oklch(73% 0.146 61.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B1FA

    #40B1FA

    oklch(72.9% 0.146 241.5)

  • #00BCD5

    #00BCD5

    oklch(73% 0.127 211.5)

  • #88A1FF

    #88A1FF

    oklch(73% 0.14 271.3)

Open the analogous palette in the generator

Split complementary

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

  • #40B1FA

    #40B1FA

    oklch(72.9% 0.146 241.5)

  • #F5816C

    #F5816C

    oklch(72.9% 0.146 31.6)

  • #C9A313

    #C9A313

    oklch(72.9% 0.146 91.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B1FA

    #40B1FA

    oklch(72.9% 0.146 241.5)

  • #F07DA1

    #F07DA1

    oklch(72.9% 0.145 1.4)

  • #99B540

    #99B540

    oklch(72.9% 0.146 121.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B1FA

    #40B1FA

    oklch(72.9% 0.146 241.5)

  • #DB83D0

    #DB83D0

    oklch(72.8% 0.145 331.6)

  • #E89037

    #E89037

    oklch(73% 0.146 61.7)

  • #55C178

    #55C178

    oklch(72.9% 0.146 151.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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