#40B2DC#40B2DC

#40B2DC is a light, moderate cyan. Relative luminance 0.381; OKLCH L 71.7% C 0.117 H 226.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#40B2DC
RGBrgb(64, 178, 220)
HSLhsl(196, 69%, 56%)
HSVhsv(196, 71%, 86%)
CMYKcmyk(70.9%, 19.1%, 0%, 13.7%)
CIE-LABlab(68.09, -18.48, -30.40)
CIE-LCHlch(68.09, 35.57, 238.71°)
OKLaboklab(71.72% -0.0803 -0.0852)
OKLCHoklch(71.72% 0.117 226.7)
XYZxyz(30.9478, 38.0945, 73.4182)
Luminance0.3810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B2DC #DC6A40
analogous
#40DCB8 #40B2DC #4064DC
triadic
#40B2DC #DC40B2 #B2DC40
tetradic
#40B2DC #B840DC #DC6A40 #64DC40
square
#40B2DC #B840DC #DC6A40 #64DC40
split-complementary
#40B2DC #DC4064 #DCB840
monochromatic
#196B89 #2393BC #40B2DC #74C7E5 #A7DCEF

Accessibility & contrast

On white

2.44
#40B2DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#40B2DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B2DC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B2DC#FFFFFF#000000##000000
##40B2DC1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAFDE
Deuteranopia (green-blind)
#869FDB
Tritanopia (blue-blind)
#00BEC0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #40b2dc;
/* rgb */ color: rgb(64, 178, 220);
/* oklch */ color: oklch(71.7% 0.117 226.7);
Tailwind
colors: {
  custom: {
    50: '#88c9e7',
    500: '#40b2dc',
    950: '#000000',
  },
}
SCSS
$custom: #40b2dc;
$custom-light: #88c9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#40b2dc",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 220
  },
  "hsl": {
    "h": 196.154,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.71719,
    "c": 0.11703,
    "h": 226.7
  },
  "luminance": 0.38098
}

Semantic roles & 50–950 ramp

primary
#40B2DC
secondary
#DCAD9B
accent
#6B3CEC
background
#F9FCFE
surface
#F1F8FC
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #40B2DC

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

Preview Lab → · Contrast checker → · Palette generator →

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