#40AFD2#40AFD2

#40AFD2 is a light, moderate cyan. Relative luminance 0.364; OKLCH L 70.6% C 0.110 H 222.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#40AFD2
RGBrgb(64, 175, 210)
HSLhsl(194, 62%, 54%)
HSVhsv(194, 70%, 82%)
CMYKcmyk(69.5%, 16.7%, 0%, 17.6%)
CIE-LABlab(66.82, -20.11, -26.85)
CIE-LCHlch(66.82, 33.55, 233.16°)
OKLaboklab(70.58% -0.081 -0.075)
OKLCHoklch(70.58% 0.11 222.8)
XYZxyz(29.0724, 36.3998, 66.4539)
Luminance0.3640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFD2 #D26340
analogous
#40D2AC #40AFD2 #4066D2
triadic
#40AFD2 #D240AF #AFD240
tetradic
#40AFD2 #AC40D2 #D26340 #66D240
square
#40AFD2 #AC40D2 #D26340 #66D240
split-complementary
#40AFD2 #D24066 #D2AC40
monochromatic
#1D647B #298DAC #40AFD2 #72C4DE #A3D8E9

Accessibility & contrast

On white

2.54
#40AFD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#40AFD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFD2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFD2#FFFFFF#000000##000000
##40AFD21.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BABD4
Deuteranopia (green-blind)
#879CD2
Tritanopia (blue-blind)
#00BABA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40afd2;
/* rgb */ color: rgb(64, 175, 210);
/* oklch */ color: oklch(70.6% 0.110 222.8);
Tailwind
colors: {
  custom: {
    50: '#87c7e0',
    500: '#40afd2',
    950: '#000000',
  },
}
SCSS
$custom: #40afd2;
$custom-light: #87c7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#40afd2",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 210
  },
  "hsl": {
    "h": 194.384,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.70578,
    "c": 0.11043,
    "h": 222.8
  },
  "luminance": 0.36403
}

Semantic roles & 50–950 ramp

primary
#40AFD2
secondary
#D6A798
accent
#6A43E5
background
#F8FCFD
surface
#F0F8FB
border
#CBD1D4
text
#0D1315
muted
#7D8283

Preview Lab

Preview with #40AFD2

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

Preview Lab → · Contrast checker → · Palette generator →

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