#40A2C2#40A2C2

#40A2C2 is a light, moderate cyan. Relative luminance 0.308; OKLCH L 66.8% C 0.101 H 223.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#40A2C2
RGBrgb(64, 162, 194)
HSLhsl(195, 52%, 51%)
HSVhsv(195, 67%, 76%)
CMYKcmyk(67%, 16.5%, 0%, 23.9%)
CIE-LABlab(62.36, -18.38, -24.83)
CIE-LCHlch(62.36, 30.89, 233.48°)
OKLaboklab(66.8% -0.0739 -0.0693)
OKLCHoklch(66.8% 0.101 223.2)
XYZxyz(24.7683, 30.8230, 55.6726)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2C2 #C26040
analogous
#40C2A1 #40A2C2 #4061C2
triadic
#40A2C2 #C240A2 #A2C240
tetradic
#40A2C2 #A140C2 #C26040 #61C240
square
#40A2C2 #A140C2 #C26040 #61C240
split-complementary
#40A2C2 #C24061 #C2A140
monochromatic
#215667 #307C95 #40A2C2 #6EB9D1 #9DCFE0

Accessibility & contrast

On white

2.93
#40A2C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#40A2C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2C2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2C2#FFFFFF#000000##000000
##40A2C21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#909EC4
Deuteranopia (green-blind)
#7D91C2
Tritanopia (blue-blind)
#00ACAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a2c2;
/* rgb */ color: rgb(64, 162, 194);
/* oklch */ color: oklch(66.8% 0.101 223.2);
Tailwind
colors: {
  custom: {
    50: '#84bdd4',
    500: '#40a2c2',
    950: '#000000',
  },
}
SCSS
$custom: #40a2c2;
$custom-light: #84bdd4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2c2",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 194
  },
  "hsl": {
    "h": 194.769,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.668,
    "c": 0.10134,
    "h": 223.2
  },
  "luminance": 0.30826
}

Semantic roles & 50–950 ramp

primary
#40A2C2
secondary
#CCA092
accent
#704DDB
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A2C2

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

Preview Lab → · Contrast checker → · Palette generator →

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