#40A8CD#40A8CD

#40A8CD is a light, moderate cyan. Relative luminance 0.335; OKLCH L 68.7% C 0.108 H 225.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#40A8CD
RGBrgb(64, 168, 205)
HSLhsl(196, 59%, 53%)
HSVhsv(196, 69%, 80%)
CMYKcmyk(68.8%, 18%, 0%, 19.6%)
CIE-LABlab(64.56, -18.04, -27.56)
CIE-LCHlch(64.56, 32.94, 236.80°)
OKLaboklab(68.71% -0.0759 -0.0771)
OKLCHoklch(68.71% 0.108 225.4)
XYZxyz(27.1320, 33.5000, 62.7820)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8CD #CD6540
analogous
#40CDAC #40A8CD #4061CD
triadic
#40A8CD #CD40A8 #A8CD40
tetradic
#40A8CD #AC40CD #CD6540 #61CD40
square
#40A8CD #AC40CD #CD6540 #61CD40
split-complementary
#40A8CD #CD4061 #CDAC40
monochromatic
#1E5E74 #2B85A5 #40A8CD #71BEDA #A1D4E6

Accessibility & contrast

On white

2.73
#40A8CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#40A8CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8CD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8CD#FFFFFF#000000##000000
##40A8CD1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5CF
Deuteranopia (green-blind)
#8096CD
Tritanopia (blue-blind)
#00B3B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40a8cd;
/* rgb */ color: rgb(64, 168, 205);
/* oklch */ color: oklch(68.7% 0.108 225.4);
Tailwind
colors: {
  custom: {
    50: '#86c2dc',
    500: '#40a8cd',
    950: '#000000',
  },
}
SCSS
$custom: #40a8cd;
$custom-light: #86c2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8cd",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 205
  },
  "hsl": {
    "h": 195.745,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.68705,
    "c": 0.10818,
    "h": 225.4
  },
  "luminance": 0.33503
}

Semantic roles & 50–950 ramp

primary
#40A8CD
secondary
#D3A696
accent
#6F46E2
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A8CD

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

Preview Lab → · Contrast checker → · Palette generator →

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