#40A8D2#40A8D2

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

Color values

HEX#40A8D2
RGBrgb(64, 168, 210)
HSLhsl(197, 62%, 54%)
HSVhsv(197, 70%, 82%)
CMYKcmyk(69.5%, 20%, 0%, 17.6%)
CIE-LABlab(64.76, -16.42, -30.03)
CIE-LCHlch(64.76, 34.23, 241.33°)
OKLaboklab(68.93% -0.074 -0.0842)
OKLCHoklch(68.93% 0.112 228.7)
XYZxyz(27.7452, 33.7453, 66.0115)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8D2 #D26A40
analogous
#40D2B3 #40A8D2 #405FD2
triadic
#40A8D2 #D240A8 #A8D240
tetradic
#40A8D2 #B340D2 #D26A40 #5FD240
square
#40A8D2 #B340D2 #D26A40 #5FD240
split-complementary
#40A8D2 #D2405F #D2B340
monochromatic
#1D607B #2986AC #40A8D2 #72BFDE #A3D5E9

Accessibility & contrast

On white

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

On black

7.75
#40A8D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8D2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8D2#FFFFFF#000000##000000
##40A8D21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D4
Deuteranopia (green-blind)
#7E97D1
Tritanopia (blue-blind)
#00B4B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40a8d2;
/* rgb */ color: rgb(64, 168, 210);
/* oklch */ color: oklch(68.9% 0.112 228.7);
Tailwind
colors: {
  custom: {
    50: '#86c2e0',
    500: '#40a8d2',
    950: '#000000',
  },
}
SCSS
$custom: #40a8d2;
$custom-light: #86c2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8d2",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 210
  },
  "hsl": {
    "h": 197.26,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.68926,
    "c": 0.1121,
    "h": 228.7
  },
  "luminance": 0.33748
}

Semantic roles & 50–950 ramp

primary
#40A8D2
secondary
#D6AA98
accent
#7143E5
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A8D2

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

Preview Lab → · Contrast checker → · Palette generator →

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