#40A2C5#40A2C5

#40A2C5 is a light, moderate cyan. Relative luminance 0.310; OKLCH L 66.9% C 0.103 H 225.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#40A2C5
RGBrgb(64, 162, 197)
HSLhsl(196, 53%, 51%)
HSVhsv(196, 68%, 77%)
CMYKcmyk(67.5%, 17.8%, 0%, 22.7%)
CIE-LABlab(62.47, -17.42, -26.33)
CIE-LCHlch(62.47, 31.57, 236.50°)
OKLaboklab(66.93% -0.0728 -0.0736)
OKLCHoklch(66.93% 0.104 225.3)
XYZxyz(25.1087, 30.9591, 57.4649)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2C5 #C56340
analogous
#40C5A5 #40A2C5 #405FC5
triadic
#40A2C5 #C540A2 #A2C540
tetradic
#40A2C5 #A540C5 #C56340 #5FC540
square
#40A2C5 #A540C5 #C56340 #5FC540
split-complementary
#40A2C5 #C5405F #C5A540
monochromatic
#20576A #2F7D99 #40A2C5 #6FB9D3 #9ED0E2

Accessibility & contrast

On white

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

On black

7.19
#40A2C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2C5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2C5#FFFFFF#000000##000000
##40A2C51.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9FC7
Deuteranopia (green-blind)
#7C91C5
Tritanopia (blue-blind)
#00ACAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a2c5;
/* rgb */ color: rgb(64, 162, 197);
/* oklch */ color: oklch(66.9% 0.103 225.3);
Tailwind
colors: {
  custom: {
    50: '#84bdd6',
    500: '#40a2c5',
    950: '#000000',
  },
}
SCSS
$custom: #40a2c5;
$custom-light: #84bdd6;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2c5",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 197
  },
  "hsl": {
    "h": 195.789,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6693,
    "c": 0.1035,
    "h": 225.3
  },
  "luminance": 0.30962
}

Semantic roles & 50–950 ramp

primary
#40A2C5
secondary
#CEA293
accent
#714BDD
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A2C5

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

Preview Lab → · Contrast checker → · Palette generator →

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