#40A6CD#40A6CD

#40A6CD is a light, moderate cyan. Relative luminance 0.328; OKLCH L 68.2% C 0.109 H 227.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#40A6CD
RGBrgb(64, 166, 205)
HSLhsl(197, 59%, 53%)
HSVhsv(197, 69%, 80%)
CMYKcmyk(68.8%, 19%, 0%, 19.6%)
CIE-LABlab(63.97, -16.98, -28.47)
CIE-LCHlch(63.97, 33.15, 239.20°)
OKLaboklab(68.23% -0.0739 -0.0797)
OKLCHoklch(68.23% 0.109 227.2)
XYZxyz(26.7656, 32.7672, 62.6599)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A6CD #CD6740
analogous
#40CDAE #40A6CD #405FCD
triadic
#40A6CD #CD40A6 #A6CD40
tetradic
#40A6CD #AE40CD #CD6740 #5FCD40
square
#40A6CD #AE40CD #CD6740 #5FCD40
split-complementary
#40A6CD #CD405F #CDAE40
monochromatic
#1E5C74 #2B83A5 #40A6CD #71BDDA #A1D3E6

Accessibility & contrast

On white

2.78
#40A6CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#40A6CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A6CD
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A6CD#FFFFFF#000000##000000
##40A6CD1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3CF
Deuteranopia (green-blind)
#7E95CD
Tritanopia (blue-blind)
#00B1B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a6cd;
/* rgb */ color: rgb(64, 166, 205);
/* oklch */ color: oklch(68.2% 0.109 227.2);
Tailwind
colors: {
  custom: {
    50: '#85c0dc',
    500: '#40a6cd',
    950: '#000000',
  },
}
SCSS
$custom: #40a6cd;
$custom-light: #85c0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#40a6cd",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 205
  },
  "hsl": {
    "h": 196.596,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.68232,
    "c": 0.10868,
    "h": 227.2
  },
  "luminance": 0.3277
}

Semantic roles & 50–950 ramp

primary
#40A6CD
secondary
#D3A796
accent
#7146E2
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A6CD

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

Preview Lab → · Contrast checker → · Palette generator →

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