#40B7D8#40B7D8

#40B7D8 is a light, moderate cyan. Relative luminance 0.399; OKLCH L 72.7% C 0.113 H 220.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#40B7D8
RGBrgb(64, 183, 216)
HSLhsl(193, 66%, 55%)
HSVhsv(193, 70%, 85%)
CMYKcmyk(70.4%, 15.3%, 0%, 15.3%)
CIE-LABlab(69.41, -22.35, -26.18)
CIE-LCHlch(69.41, 34.42, 229.52°)
OKLaboklab(72.72% -0.0867 -0.0731)
OKLCHoklch(72.72% 0.113 220.1)
XYZxyz(31.4374, 39.9112, 70.9992)
Luminance0.3992 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B7D8 #D86140
analogous
#40D8AD #40B7D8 #406BD8
triadic
#40B7D8 #D840B7 #B7D840
tetradic
#40B7D8 #AD40D8 #D86140 #6BD840
square
#40B7D8 #AD40D8 #D86140 #6BD840
split-complementary
#40B7D8 #D8406B #D8AD40
monochromatic
#1B6C83 #2596B6 #40B7D8 #73CAE2 #A6DDED

Accessibility & contrast

On white

2.34
#40B7D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#40B7D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B7D8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B7D8#FFFFFF#000000##000000
##40B7D81.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B2DA
Deuteranopia (green-blind)
#8EA3D8
Tritanopia (blue-blind)
#00C2C1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40b7d8;
/* rgb */ color: rgb(64, 183, 216);
/* oklch */ color: oklch(72.7% 0.113 220.1);
Tailwind
colors: {
  custom: {
    50: '#88cce4',
    500: '#40b7d8',
    950: '#000000',
  },
}
SCSS
$custom: #40b7d8;
$custom-light: #88cce4;
$custom-dark: #000000;
JSON
{
  "hex": "#40b7d8",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 216
  },
  "hsl": {
    "h": 193.026,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.72723,
    "c": 0.11338,
    "h": 220.1
  },
  "luminance": 0.39915
}

Semantic roles & 50–950 ramp

primary
#40B7D8
secondary
#DAA89A
accent
#643FE9
background
#F9FCFD
surface
#F1F9FB
border
#CBD2D4
text
#0D1315
muted
#7E8283

Preview Lab

Preview with #40B7D8

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

Preview Lab → · Contrast checker → · Palette generator →

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