#40A0D4#40A0D4

#40A0D4 is a light, moderate cyan. Relative luminance 0.310; OKLCH L 67.1% C 0.117 H 236.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#40A0D4
RGBrgb(64, 160, 212)
HSLhsl(201, 63%, 54%)
HSVhsv(201, 70%, 83%)
CMYKcmyk(69.8%, 24.5%, 0%, 16.9%)
CIE-LABlab(62.49, -11.42, -34.66)
CIE-LCHlch(62.49, 36.49, 251.76°)
OKLaboklab(67.15% -0.0654 -0.0975)
OKLCHoklch(67.15% 0.117 236.1)
XYZxyz(26.5642, 30.9821, 66.8547)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A0D4 #D47440
analogous
#40D4BE #40A0D4 #4056D4
triadic
#40A0D4 #D440A0 #A0D440
tetradic
#40A0D4 #BE40D4 #D47440 #56D440
square
#40A0D4 #BE40D4 #D47440 #56D440
split-complementary
#40A0D4 #D44056 #D4BE40
monochromatic
#1C5B7D #2780AF #40A0D4 #72B9DF #A4D2EA

Accessibility & contrast

On white

2.92
#40A0D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#40A0D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A0D4
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A0D4#FFFFFF#000000##000000
##40A0D41.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#879FD6
Deuteranopia (green-blind)
#7391D3
Tritanopia (blue-blind)
#00ADB2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a0d4;
/* rgb */ color: rgb(64, 160, 212);
/* oklch */ color: oklch(67.1% 0.117 236.1);
Tailwind
colors: {
  custom: {
    50: '#86bce1',
    500: '#40a0d4',
    950: '#000000',
  },
}
SCSS
$custom: #40a0d4;
$custom-light: #86bce1;
$custom-dark: #000000;
JSON
{
  "hex": "#40a0d4",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 212
  },
  "hsl": {
    "h": 201.081,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.67147,
    "c": 0.11744,
    "h": 236.1
  },
  "luminance": 0.30985
}

Semantic roles & 50–950 ramp

primary
#40A0D4
secondary
#D7AF98
accent
#7B42E6
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A0D4

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

Preview Lab → · Contrast checker → · Palette generator →

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