#40A8D1#40A8D1

#40A8D1 is a light, moderate cyan. Relative luminance 0.337; OKLCH L 68.9% C 0.111 H 228.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#40A8D1
RGBrgb(64, 168, 209)
HSLhsl(197, 61%, 54%)
HSVhsv(197, 69%, 82%)
CMYKcmyk(69.4%, 19.6%, 0%, 18%)
CIE-LABlab(64.72, -16.75, -29.54)
CIE-LCHlch(64.72, 33.95, 240.45°)
OKLaboklab(68.88% -0.0744 -0.0827)
OKLCHoklch(68.88% 0.111 228)
XYZxyz(27.6210, 33.6956, 65.3574)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8D1 #D16940
analogous
#40D1B2 #40A8D1 #405FD1
triadic
#40A8D1 #D140A8 #A8D140
tetradic
#40A8D1 #B240D1 #D16940 #5FD140
square
#40A8D1 #B240D1 #D16940 #5FD140
split-complementary
#40A8D1 #D1405F #D1B240
monochromatic
#1D5F79 #2986AB #40A8D1 #71BEDD #A3D5E9

Accessibility & contrast

On white

2.71
#40A8D1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#40A8D1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8D1
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8D1#FFFFFF#000000##000000
##40A8D11.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D3
Deuteranopia (green-blind)
#7F97D0
Tritanopia (blue-blind)
#00B4B5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40a8d1;
/* rgb */ color: rgb(64, 168, 209);
/* oklch */ color: oklch(68.9% 0.111 228.0);
Tailwind
colors: {
  custom: {
    50: '#86c2df',
    500: '#40a8d1',
    950: '#000000',
  },
}
SCSS
$custom: #40a8d1;
$custom-light: #86c2df;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8d1",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 209
  },
  "hsl": {
    "h": 196.966,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.68882,
    "c": 0.11129,
    "h": 228
  },
  "luminance": 0.33699
}

Semantic roles & 50–950 ramp

primary
#40A8D1
secondary
#D5A997
accent
#7144E4
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A8D1

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

Preview Lab → · Contrast checker → · Palette generator →

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