#40B2FB

Closest named color: Deep Sky Blue (#00BFFF). oklch(73.2% 0.146 241.4), rgb(64, 178, 251).

Aa

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

About this color

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

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

Values

HEX#40B2FB
RGBrgb(64, 178, 251)
HSLhsl(203, 96%, 62%)
OKLCHoklch(73.2% 0.146 241.4)

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 #40B2FB 2.33:1 Fails Lc -50.6 Large or bold text, headings
Black text on #40B2FB 8.97:1 AAA Lc 58.3 Large or bold text, headings
#40B2FB text on white 2.33:1 Fails Lc 45.7 Large or bold text, headings
#40B2FB text on black 8.97:1 AAA Lc -56.4 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

    #8AC8F6

    oklch(80.8% 0.091 241.4)

  5. Step 400

    400 (this color)

    #40B2FB

    oklch(73.2% 0.146 241.4)

  6. Step 500

    500

    #0092DA

    oklch(63.1% 0.148 241.4)

  7. Step 600

    600

    #007BB8

    oklch(55.7% 0.13 241.1)

  8. Step 700

    700

    #00679B

    oklch(49.1% 0.115 241)

  9. Step 800

    800

    #005480

    oklch(42.6% 0.1 241.3)

  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

#40B2FB 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)#90B3FE0.072
Deuteranopia (no green cones)#76A2FA0.056
Tritanopia (no blue cones)#00C4CC0.099
Achromatopsia (no color)#A9A9A90.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B2FB

    #40B2FB

    oklch(73.2% 0.146 241.4)

  • #E99038

    #E99038

    oklch(73.1% 0.146 61.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B2FB

    #40B2FB

    oklch(73.2% 0.146 241.4)

  • #00BDD6

    #00BDD6

    oklch(73.2% 0.127 211.4)

  • #89A2FF

    #89A2FF

    oklch(73.2% 0.138 271.3)

Open the analogous palette in the generator

Split complementary

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

  • #40B2FB

    #40B2FB

    oklch(73.2% 0.146 241.4)

  • #F6826D

    #F6826D

    oklch(73.2% 0.146 31.5)

  • #CAA414

    #CAA414

    oklch(73.2% 0.146 91.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B2FB

    #40B2FB

    oklch(73.2% 0.146 241.4)

  • #F17EA2

    #F17EA2

    oklch(73.2% 0.145 1.4)

  • #9AB640

    #9AB640

    oklch(73.2% 0.147 121.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B2FB

    #40B2FB

    oklch(73.2% 0.146 241.4)

  • #DC84D2

    #DC84D2

    oklch(73.2% 0.146 331.1)

  • #E99038

    #E99038

    oklch(73.1% 0.146 61.1)

  • #57C278

    #57C278

    oklch(73.2% 0.146 151.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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