#40C4FC

Closest named color: Bright Sky Blue (#02CCFE). oklch(77.3% 0.137 231), rgb(64, 196, 252).

Aa

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

About this color

#40C4FC is a medium-light, moderately saturated blue. In OKLCH its lightness is 77%, its chroma 0.137 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Bright Sky Blue (#02CCFE), ΔE 0.024 away. Black text reads best on it, at 10.51:1.

Hue familyBlues
Lightnessmedium-light (77%)
Chromamoderately saturated (0.137)
Temperaturecool
Nearest nameBright Sky Blue (#02CCFE)
Black text10.51:1
White text1.99:1

Values

HEX#40C4FC
RGBrgb(64, 196, 252)
HSLhsl(198, 97%, 62%)
OKLCHoklch(77.3% 0.137 231)

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 #40C4FC 1.99:1 Fails Lc -42.7 Non-text elements, placeholder text
Black text on #40C4FC 10.51:1 AAA Lc 65.7 Content text, not long reading
#40C4FC text on white 1.99:1 Fails Lc 38.2 Non-text elements, placeholder text
#40C4FC text on black 10.51:1 AAA Lc -64.1 Content text, not long reading

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 300.

  1. Step 50

    50

    #EBF8FF

    oklch(97.1% 0.017 230.9)

  2. Step 100

    100

    #D1EFFF

    oklch(93.5% 0.038 231)

  3. Step 200

    200

    #ABE2FF

    oklch(88.5% 0.069 231.5)

  4. Step 300

    300 (this color)

    #40C4FC

    oklch(77.3% 0.137 231)

  5. Step 400

    400

    #00AFE8

    oklch(70.7% 0.142 230.7)

  6. Step 500

    500

    #0096C8

    oklch(63.1% 0.127 231)

  7. Step 600

    600

    #007EA9

    oklch(55.6% 0.112 231.2)

  8. Step 700

    700

    #006A8E

    oklch(49.1% 0.099 230.6)

  9. Step 800

    800

    #005775

    oklch(42.8% 0.086 230.3)

  10. Step 900

    900

    #004862

    oklch(37.7% 0.076 230.8)

  11. Step 950

    950

    #002B3C

    oklch(27.1% 0.054 230.4)

Export this scale for Tailwind in the Tailwind colors tool

#40C4FC 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)#A8C2FF0.093
Deuteranopia (no green cones)#8EB0FB0.078
Tritanopia (no blue cones)#00D3D70.080
Achromatopsia (no color)#B7B7B70.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #40C4FC

    #40C4FC

    oklch(77.3% 0.137 231)

  • #FA9A60

    #FA9A60

    oklch(77.4% 0.137 50.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40C4FC

    #40C4FC

    oklch(77.3% 0.137 231)

  • #00CED7

    #00CED7

    oklch(77.4% 0.132 200.4)

  • #8BB6FF

    #8BB6FF

    oklch(77.4% 0.115 260.7)

Open the analogous palette in the generator

Split complementary

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

  • #40C4FC

    #40C4FC

    oklch(77.3% 0.137 231)

  • #FF9190

    #FF9190

    oklch(77.4% 0.133 21.1)

  • #E2AB3F

    #E2AB3F

    oklch(77.4% 0.137 80.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40C4FC

    #40C4FC

    oklch(77.3% 0.137 231)

  • #F68FC0

    #F68FC0

    oklch(77.3% 0.136 350.8)

  • #B9BD4B

    #B9BD4B

    oklch(77.3% 0.136 111.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40C4FC

    #40C4FC

    oklch(77.3% 0.137 231)

  • #DD97EA

    #DD97EA

    oklch(77.3% 0.137 321.1)

  • #FA9A60

    #FA9A60

    oklch(77.4% 0.137 50.7)

  • #82CB77

    #82CB77

    oklch(77.4% 0.137 141.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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