#40AFDC#40AFDC

#40AFDC is a light, moderate cyan. Relative luminance 0.369; OKLCH L 71.0% C 0.118 H 229.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#40AFDC
RGBrgb(64, 175, 220)
HSLhsl(197, 69%, 56%)
HSVhsv(197, 71%, 86%)
CMYKcmyk(70.9%, 20.5%, 0%, 13.7%)
CIE-LABlab(67.21, -16.89, -31.75)
CIE-LCHlch(67.21, 35.97, 241.98°)
OKLaboklab(71.02% -0.0773 -0.0891)
OKLCHoklch(71.02% 0.118 229)
XYZxyz(30.3574, 36.9138, 73.2214)
Luminance0.3692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFDC #DC6D40
analogous
#40DCBB #40AFDC #4061DC
triadic
#40AFDC #DC40AF #AFDC40
tetradic
#40AFDC #BB40DC #DC6D40 #61DC40
square
#40AFDC #BB40DC #DC6D40 #61DC40
split-complementary
#40AFDC #DC4061 #DCBB40
monochromatic
#196889 #2390BC #40AFDC #74C5E5 #A7DAEF

Accessibility & contrast

On white

2.50
#40AFDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#40AFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFDC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFDC#FFFFFF#000000##000000
##40AFDC1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ACDE
Deuteranopia (green-blind)
#829DDB
Tritanopia (blue-blind)
#00BCBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40afdc;
/* rgb */ color: rgb(64, 175, 220);
/* oklch */ color: oklch(71.0% 0.118 229.0);
Tailwind
colors: {
  custom: {
    50: '#88c7e7',
    500: '#40afdc',
    950: '#000000',
  },
}
SCSS
$custom: #40afdc;
$custom-light: #88c7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#40afdc",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 220
  },
  "hsl": {
    "h": 197.308,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.71017,
    "c": 0.11796,
    "h": 229
  },
  "luminance": 0.36917
}

Semantic roles & 50–950 ramp

primary
#40AFDC
secondary
#DCAE9B
accent
#6F3CEC
background
#F9FCFE
surface
#F1F8FC
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #40AFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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