#40B7DC#40B7DC

#40B7DC is a light, moderate cyan. Relative luminance 0.401; OKLCH L 72.9% C 0.116 H 222.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#40B7DC
RGBrgb(64, 183, 220)
HSLhsl(194, 69%, 56%)
HSVhsv(194, 71%, 86%)
CMYKcmyk(70.9%, 16.8%, 0%, 13.7%)
CIE-LABlab(69.56, -21.08, -28.14)
CIE-LCHlch(69.56, 35.16, 233.16°)
OKLaboklab(72.89% -0.0852 -0.0787)
OKLCHoklch(72.89% 0.116 222.7)
XYZxyz(31.9608, 40.1206, 73.7559)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B7DC #DC6540
analogous
#40DCB3 #40B7DC #4069DC
triadic
#40B7DC #DC40B7 #B7DC40
tetradic
#40B7DC #B340DC #DC6540 #69DC40
square
#40B7DC #B340DC #DC6540 #69DC40
split-complementary
#40B7DC #DC4069 #DCB340
monochromatic
#196E89 #2398BC #40B7DC #74CAE5 #A7DEEF

Accessibility & contrast

On white

2.33
#40B7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#40B7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B7DC
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B7DC#FFFFFF#000000##000000
##40B7DC1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B3DE
Deuteranopia (green-blind)
#8CA3DC
Tritanopia (blue-blind)
#00C2C3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40b7dc;
/* rgb */ color: rgb(64, 183, 220);
/* oklch */ color: oklch(72.9% 0.116 222.7);
Tailwind
colors: {
  custom: {
    50: '#89cce7',
    500: '#40b7dc',
    950: '#000000',
  },
}
SCSS
$custom: #40b7dc;
$custom-light: #89cce7;
$custom-dark: #000000;
JSON
{
  "hex": "#40b7dc",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 220
  },
  "hsl": {
    "h": 194.231,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.72892,
    "c": 0.11594,
    "h": 222.7
  },
  "luminance": 0.40124
}

Semantic roles & 50–950 ramp

primary
#40B7DC
secondary
#DCAB9B
accent
#663CEC
background
#F9FCFE
surface
#F1F9FC
border
#CBD2D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #40B7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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