#40A2CD#40A2CD

#40A2CD is a light, moderate cyan. Relative luminance 0.313; OKLCH L 67.3% C 0.110 H 230.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#40A2CD
RGBrgb(64, 162, 205)
HSLhsl(198, 59%, 53%)
HSVhsv(198, 69%, 80%)
CMYKcmyk(68.8%, 21%, 0%, 19.6%)
CIE-LABlab(62.79, -14.83, -30.30)
CIE-LCHlch(62.79, 33.73, 243.92°)
OKLaboklab(67.29% -0.0698 -0.085)
OKLCHoklch(67.29% 0.11 230.6)
XYZxyz(26.0497, 31.3355, 62.4213)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2CD #CD6B40
analogous
#40CDB1 #40A2CD #405BCD
triadic
#40A2CD #CD40A2 #A2CD40
tetradic
#40A2CD #B140CD #CD6B40 #5BCD40
square
#40A2CD #B140CD #CD6B40 #5BCD40
split-complementary
#40A2CD #CD405B #CDB140
monochromatic
#1E5A74 #2B80A5 #40A2CD #71BADA #A1D1E6

Accessibility & contrast

On white

2.89
#40A2CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#40A2CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2CD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2CD#FFFFFF#000000##000000
##40A2CD1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CF
Deuteranopia (green-blind)
#7992CC
Tritanopia (blue-blind)
#00AEB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a2cd;
/* rgb */ color: rgb(64, 162, 205);
/* oklch */ color: oklch(67.3% 0.110 230.6);
Tailwind
colors: {
  custom: {
    50: '#85bddc',
    500: '#40a2cd',
    950: '#000000',
  },
}
SCSS
$custom: #40a2cd;
$custom-light: #85bddc;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2cd",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 205
  },
  "hsl": {
    "h": 198.298,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.67288,
    "c": 0.11,
    "h": 230.6
  },
  "luminance": 0.31338
}

Semantic roles & 50–950 ramp

primary
#40A2CD
secondary
#D3A896
accent
#7646E2
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A2CD

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

Preview Lab → · Contrast checker → · Palette generator →

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