#40B4E2#40B4E2

#40B4E2 is a light, vivid cyan. Relative luminance 0.392; OKLCH L 72.5% C 0.121 H 228.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#40B4E2
RGBrgb(64, 180, 226)
HSLhsl(197, 74%, 57%)
HSVhsv(197, 72%, 89%)
CMYKcmyk(71.7%, 20.4%, 0%, 11.4%)
CIE-LABlab(68.91, -17.59, -32.41)
CIE-LCHlch(68.91, 36.88, 241.52°)
OKLaboklab(72.45% -0.0801 -0.0909)
OKLCHoklch(72.45% 0.121 228.6)
XYZxyz(32.1575, 39.2198, 77.8121)
Luminance0.3922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B4E2 #E26E40
analogous
#40E2BF #40B4E2 #4063E2
triadic
#40B4E2 #E240B4 #B4E240
tetradic
#40B4E2 #BF40E2 #E26E40 #63E240
square
#40B4E2 #BF40E2 #E26E40 #63E240
split-complementary
#40B4E2 #E24063 #E2BF40
monochromatic
#166E92 #1E97C7 #40B4E2 #75C9EA #AADEF2

Accessibility & contrast

On white

2.37
#40B4E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#40B4E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B4E2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B4E2#FFFFFF#000000##000000
##40B4E21.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB1E4
Deuteranopia (green-blind)
#86A1E1
Tritanopia (blue-blind)
#00C1C3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40b4e2;
/* rgb */ color: rgb(64, 180, 226);
/* oklch */ color: oklch(72.5% 0.121 228.6);
Tailwind
colors: {
  custom: {
    50: '#89caeb',
    500: '#40b4e2',
    950: '#000000',
  },
}
SCSS
$custom: #40b4e2;
$custom-light: #89caeb;
$custom-dark: #000000;
JSON
{
  "hex": "#40b4e2",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 226
  },
  "hsl": {
    "h": 197.037,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.72452,
    "c": 0.12115,
    "h": 228.6
  },
  "luminance": 0.39223
}

Semantic roles & 50–950 ramp

primary
#40B4E2
secondary
#E0B19E
accent
#6C38F0
background
#F9FCFE
surface
#F1F8FD
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #40B4E2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#40B4E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva