#40AFCC#40AFCC

#40AFCC is a light, moderate cyan. Relative luminance 0.361; OKLCH L 70.3% C 0.107 H 218.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#40AFCC
RGBrgb(64, 175, 204)
HSLhsl(192, 58%, 53%)
HSVhsv(192, 69%, 80%)
CMYKcmyk(68.6%, 14.2%, 0%, 20%)
CIE-LABlab(66.60, -22.01, -23.88)
CIE-LCHlch(66.60, 32.48, 227.33°)
OKLaboklab(70.33% -0.0833 -0.0666)
OKLCHoklch(70.33% 0.107 218.6)
XYZxyz(28.3389, 36.1064, 62.5907)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFCC #CC5D40
analogous
#40CCA3 #40AFCC #4069CC
triadic
#40AFCC #CC40AF #AFCC40
tetradic
#40AFCC #A340CC #CC5D40 #69CC40
square
#40AFCC #A340CC #CC5D40 #69CC40
split-complementary
#40AFCC #CC4069 #CCA340
monochromatic
#1F6173 #2C8AA3 #40AFCC #70C3D9 #A1D7E6

Accessibility & contrast

On white

2.55
#40AFCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#40AFCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFCC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFCC#FFFFFF#000000##000000
##40AFCC1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DAACE
Deuteranopia (green-blind)
#899CCC
Tritanopia (blue-blind)
#00B9B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40afcc;
/* rgb */ color: rgb(64, 175, 204);
/* oklch */ color: oklch(70.3% 0.107 218.6);
Tailwind
colors: {
  custom: {
    50: '#86c7db',
    500: '#40afcc',
    950: '#000000',
  },
}
SCSS
$custom: #40afcc;
$custom-light: #86c7db;
$custom-dark: #000000;
JSON
{
  "hex": "#40afcc",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 204
  },
  "hsl": {
    "h": 192.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.70325,
    "c": 0.10666,
    "h": 218.6
  },
  "luminance": 0.3611
}

Semantic roles & 50–950 ramp

primary
#40AFCC
secondary
#D2A295
accent
#6747E1
background
#F8FCFD
surface
#F0F8FB
border
#CBD1D4
text
#0C1315
muted
#7D8283

Preview Lab

Preview with #40AFCC

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

Preview Lab → · Contrast checker → · Palette generator →

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