#40AFC8#40AFC8

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

Color values

HEX#40AFC8
RGBrgb(64, 175, 200)
HSLhsl(191, 55%, 52%)
HSVhsv(191, 68%, 78%)
CMYKcmyk(68%, 12.5%, 0%, 21.6%)
CIE-LABlab(66.46, -23.26, -21.89)
CIE-LCHlch(66.46, 31.94, 223.27°)
OKLaboklab(70.16% -0.0849 -0.0609)
OKLCHoklch(70.16% 0.105 215.7)
XYZxyz(27.8653, 35.9169, 60.0965)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFC8 #C85940
analogous
#40C89D #40AFC8 #406BC8
triadic
#40AFC8 #C840AF #AFC840
tetradic
#40AFC8 #9D40C8 #C85940 #6BC840
square
#40AFC8 #9D40C8 #C85940 #6BC840
split-complementary
#40AFC8 #C8406B #C89D40
monochromatic
#20606E #2D899D #40AFC8 #70C3D6 #9FD7E3

Accessibility & contrast

On white

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

On black

8.18
#40AFC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFC8
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFC8#FFFFFF#000000##000000
##40AFC81.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EAAC9
Deuteranopia (green-blind)
#8A9BC8
Tritanopia (blue-blind)
#00B8B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40afc8;
/* rgb */ color: rgb(64, 175, 200);
/* oklch */ color: oklch(70.2% 0.104 215.7);
Tailwind
colors: {
  custom: {
    50: '#85c7d8',
    500: '#40afc8',
    950: '#000000',
  },
}
SCSS
$custom: #40afc8;
$custom-light: #85c7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#40afc8",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 200
  },
  "hsl": {
    "h": 191.029,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70161,
    "c": 0.1045,
    "h": 215.7
  },
  "luminance": 0.3592
}

Semantic roles & 50–950 ramp

primary
#40AFC8
secondary
#D09F94
accent
#6549DF
background
#F8FCFD
surface
#F0F8FA
border
#CBD1D3
text
#0C1314
muted
#7D8283

Preview Lab

Preview with #40AFC8

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

Preview Lab → · Contrast checker → · Palette generator →

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