#40A0D5#40A0D5

#40A0D5 is a light, moderate cyan. Relative luminance 0.310; OKLCH L 67.2% C 0.118 H 236.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#40A0D5
RGBrgb(64, 160, 213)
HSLhsl(201, 64%, 54%)
HSVhsv(201, 70%, 84%)
CMYKcmyk(70%, 24.9%, 0%, 16.5%)
CIE-LABlab(62.54, -11.09, -35.15)
CIE-LCHlch(62.54, 36.85, 252.49°)
OKLaboklab(67.2% -0.0651 -0.0989)
OKLCHoklch(67.2% 0.118 236.7)
XYZxyz(26.6907, 31.0327, 67.5211)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A0D5 #D57540
analogous
#40D5BF #40A0D5 #4056D5
triadic
#40A0D5 #D540A0 #A0D540
tetradic
#40A0D5 #BF40D5 #D57540 #56D540
square
#40A0D5 #BF40D5 #D57540 #56D540
split-complementary
#40A0D5 #D54056 #D5BF40
monochromatic
#1C5C7F #2780B1 #40A0D5 #72B9E0 #A4D2EB

Accessibility & contrast

On white

2.91
#40A0D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#40A0D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A0D5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A0D5#FFFFFF#000000##000000
##40A0D51.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#879FD7
Deuteranopia (green-blind)
#7291D4
Tritanopia (blue-blind)
#00AEB2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a0d5;
/* rgb */ color: rgb(64, 160, 213);
/* oklch */ color: oklch(67.2% 0.118 236.7);
Tailwind
colors: {
  custom: {
    50: '#86bce2',
    500: '#40a0d5',
    950: '#000000',
  },
}
SCSS
$custom: #40a0d5;
$custom-light: #86bce2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a0d5",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 213
  },
  "hsl": {
    "h": 201.342,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.67195,
    "c": 0.11843,
    "h": 236.7
  },
  "luminance": 0.31036
}

Semantic roles & 50–950 ramp

primary
#40A0D5
secondary
#D8AF99
accent
#7C41E7
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A0D5

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

Preview Lab → · Contrast checker → · Palette generator →

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