#40B1FB

Closest named color: Deep Sky Blue (#00BFFF). oklch(73% 0.147 241.9), rgb(64, 177, 251).

Aa

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

About this color

#40B1FB is a medium-light, vivid blue. In OKLCH its lightness is 73%, its chroma 0.147 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.89:1.

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

Values

HEX#40B1FB
RGBrgb(64, 177, 251)
HSLhsl(204, 96%, 62%)
OKLCHoklch(73% 0.147 241.9)

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 #40B1FB 2.35:1 Fails Lc -51.0 Large or bold text, headings
Black text on #40B1FB 8.89:1 AAA Lc 57.9 Large or bold text, headings
#40B1FB text on white 2.35:1 Fails Lc 46.1 Large or bold text, headings
#40B1FB text on black 8.89: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

    #BCDEF8

    oklch(88.4% 0.051 241.1)

  4. Step 300

    300

    #8BC8F7

    oklch(80.9% 0.092 242.4)

  5. Step 400

    400 (this color)

    #40B1FB

    oklch(73% 0.147 241.9)

  6. Step 500

    500

    #0092DB

    oklch(63.2% 0.149 241.7)

  7. Step 600

    600

    #007AB9

    oklch(55.5% 0.132 242.1)

  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

    #002943

    oklch(27% 0.065 242.6)

Export this scale for Tailwind in the Tailwind colors tool

#40B1FB 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)#8FB2FE0.071
Deuteranopia (no green cones)#75A1FA0.055
Tritanopia (no blue cones)#00C3CB0.100
Achromatopsia (no color)#A9A9A90.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B1FB

    #40B1FB

    oklch(73% 0.147 241.9)

  • #E89035

    #E89035

    oklch(73% 0.147 62.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B1FB

    #40B1FB

    oklch(73% 0.147 241.9)

  • #00BCD6

    #00BCD6

    oklch(73% 0.127 212.1)

  • #89A1FF

    #89A1FF

    oklch(73% 0.139 271.7)

Open the analogous palette in the generator

Split complementary

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

  • #40B1FB

    #40B1FB

    oklch(73% 0.147 241.9)

  • #F5816B

    #F5816B

    oklch(72.9% 0.147 32)

  • #C9A30F

    #C9A30F

    oklch(72.9% 0.147 91.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B1FB

    #40B1FB

    oklch(73% 0.147 241.9)

  • #F17DA0

    #F17DA0

    oklch(73% 0.146 2.2)

  • #99B540

    #99B540

    oklch(72.9% 0.146 121.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B1FB

    #40B1FB

    oklch(73% 0.147 241.9)

  • #DC83D0

    #DC83D0

    oklch(73% 0.146 332)

  • #E89035

    #E89035

    oklch(73% 0.147 62.1)

  • #54C178

    #54C178

    oklch(72.9% 0.146 151.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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