#40A2C8#40A2C8

#40A2C8 is a light, moderate cyan. Relative luminance 0.311; OKLCH L 67.1% C 0.106 H 227.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#40A2C8
RGBrgb(64, 162, 200)
HSLhsl(197, 55%, 52%)
HSVhsv(197, 68%, 78%)
CMYKcmyk(68%, 19%, 0%, 21.6%)
CIE-LABlab(62.59, -16.46, -27.82)
CIE-LCHlch(62.59, 32.32, 239.40°)
OKLaboklab(67.06% -0.0717 -0.0779)
OKLCHoklch(67.06% 0.106 227.4)
XYZxyz(25.4558, 31.0980, 59.2933)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2C8 #C86640
analogous
#40C8AA #40A2C8 #405EC8
triadic
#40A2C8 #C840A2 #A2C840
tetradic
#40A2C8 #AA40C8 #C86640 #5EC840
square
#40A2C8 #AA40C8 #C86640 #5EC840
split-complementary
#40A2C8 #C8405E #C8AA40
monochromatic
#20586E #2D7E9D #40A2C8 #70B9D6 #9FD0E3

Accessibility & contrast

On white

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

On black

7.22
#40A2C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2C8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2C8#FFFFFF#000000##000000
##40A2C81.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9FCA
Deuteranopia (green-blind)
#7B91C8
Tritanopia (blue-blind)
#00ADAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a2c8;
/* rgb */ color: rgb(64, 162, 200);
/* oklch */ color: oklch(67.1% 0.106 227.4);
Tailwind
colors: {
  custom: {
    50: '#85bdd8',
    500: '#40a2c8',
    950: '#000000',
  },
}
SCSS
$custom: #40a2c8;
$custom-light: #85bdd8;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2c8",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 200
  },
  "hsl": {
    "h": 196.765,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.67062,
    "c": 0.10582,
    "h": 227.4
  },
  "luminance": 0.31101
}

Semantic roles & 50–950 ramp

primary
#40A2C8
secondary
#D0A594
accent
#7349DF
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A2C8

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

Preview Lab → · Contrast checker → · Palette generator →

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