#40A5CD#40A5CD

#40A5CD is a light, moderate cyan. Relative luminance 0.324; OKLCH L 68.0% C 0.109 H 228.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#40A5CD
RGBrgb(64, 165, 205)
HSLhsl(197, 59%, 53%)
HSVhsv(197, 69%, 80%)
CMYKcmyk(68.8%, 19.5%, 0%, 19.6%)
CIE-LABlab(63.68, -16.44, -28.93)
CIE-LCHlch(63.68, 33.28, 240.39°)
OKLaboklab(68% -0.0729 -0.081)
OKLCHoklch(68% 0.109 228)
XYZxyz(26.5845, 32.4051, 62.5995)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5CD #CD6840
analogous
#40CDAE #40A5CD #405FCD
triadic
#40A5CD #CD40A5 #A5CD40
tetradic
#40A5CD #AE40CD #CD6840 #5FCD40
square
#40A5CD #AE40CD #CD6840 #5FCD40
split-complementary
#40A5CD #CD405F #CDAE40
monochromatic
#1E5C74 #2B82A5 #40A5CD #71BCDA #A1D3E6

Accessibility & contrast

On white

2.81
#40A5CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#40A5CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5CD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5CD#FFFFFF#000000##000000
##40A5CD1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CF
Deuteranopia (green-blind)
#7D94CC
Tritanopia (blue-blind)
#00B0B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a5cd;
/* rgb */ color: rgb(64, 165, 205);
/* oklch */ color: oklch(68.0% 0.109 228.0);
Tailwind
colors: {
  custom: {
    50: '#85bfdc',
    500: '#40a5cd',
    950: '#000000',
  },
}
SCSS
$custom: #40a5cd;
$custom-light: #85bfdc;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5cd",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 205
  },
  "hsl": {
    "h": 197.021,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.67995,
    "c": 0.10897,
    "h": 228
  },
  "luminance": 0.32408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A5CD

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

Preview Lab → · Contrast checker → · Palette generator →

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