#40AFC7#40AFC7

#40AFC7 is a light, moderate cyan. Relative luminance 0.359; OKLCH L 70.1% C 0.104 H 214.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#40AFC7
RGBrgb(64, 175, 199)
HSLhsl(191, 55%, 52%)
HSVhsv(191, 68%, 78%)
CMYKcmyk(67.8%, 12.1%, 0%, 22%)
CIE-LABlab(66.42, -23.57, -21.39)
CIE-LCHlch(66.42, 31.83, 222.23°)
OKLaboklab(70.12% -0.0853 -0.0595)
OKLCHoklch(70.12% 0.104 214.9)
XYZxyz(27.7488, 35.8704, 59.4830)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFC7 #C75840
analogous
#40C79C #40AFC7 #406CC7
triadic
#40AFC7 #C740AF #AFC740
tetradic
#40AFC7 #9C40C7 #C75840 #6CC740
square
#40AFC7 #9C40C7 #C75840 #6CC740
split-complementary
#40AFC7 #C7406C #C79C40
monochromatic
#205F6D #2E889C #40AFC7 #6FC3D5 #9FD7E3

Accessibility & contrast

On white

2.57
#40AFC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#40AFC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFC7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFC7#FFFFFF#000000##000000
##40AFC71.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EAAC8
Deuteranopia (green-blind)
#8B9BC7
Tritanopia (blue-blind)
#00B8B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40afc7;
/* rgb */ color: rgb(64, 175, 199);
/* oklch */ color: oklch(70.1% 0.104 214.9);
Tailwind
colors: {
  custom: {
    50: '#85c7d8',
    500: '#40afc7',
    950: '#000000',
  },
}
SCSS
$custom: #40afc7;
$custom-light: #85c7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#40afc7",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 199
  },
  "hsl": {
    "h": 190.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70121,
    "c": 0.10402,
    "h": 214.9
  },
  "luminance": 0.35873
}

Semantic roles & 50–950 ramp

primary
#40AFC7
secondary
#CF9E94
accent
#644ADE
background
#F8FCFD
surface
#F0F8FA
border
#CBD1D3
text
#0C1314
muted
#7D8283

Preview Lab

Preview with #40AFC7

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

Preview Lab → · Contrast checker → · Palette generator →

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