#40ACC2#40ACC2

#40ACC2 is a light, moderate cyan. Relative luminance 0.345; OKLCH L 69.2% C 0.101 H 213.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#40ACC2
RGBrgb(64, 172, 194)
HSLhsl(190, 52%, 51%)
HSVhsv(190, 67%, 76%)
CMYKcmyk(67%, 11.3%, 0%, 23.9%)
CIE-LABlab(65.35, -23.58, -20.26)
CIE-LCHlch(65.35, 31.09, 220.66°)
OKLaboklab(69.2% -0.0842 -0.0563)
OKLCHoklch(69.2% 0.101 213.8)
XYZxyz(26.6004, 34.4871, 56.2833)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40ACC2 #C25640
analogous
#40C297 #40ACC2 #406BC2
triadic
#40ACC2 #C240AC #ACC240
tetradic
#40ACC2 #9740C2 #C25640 #6BC240
square
#40ACC2 #9740C2 #C25640 #6BC240
split-complementary
#40ACC2 #C2406B #C29740
monochromatic
#215B67 #308495 #40ACC2 #6EC0D1 #9DD4E0

Accessibility & contrast

On white

2.66
#40ACC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#40ACC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40ACC2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40ACC2#FFFFFF#000000##000000
##40ACC21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA6C3
Deuteranopia (green-blind)
#8999C2
Tritanopia (blue-blind)
#00B5B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40acc2;
/* rgb */ color: rgb(64, 172, 194);
/* oklch */ color: oklch(69.2% 0.101 213.8);
Tailwind
colors: {
  custom: {
    50: '#85c5d4',
    500: '#40acc2',
    950: '#000000',
  },
}
SCSS
$custom: #40acc2;
$custom-light: #85c5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#40acc2",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 194
  },
  "hsl": {
    "h": 190.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.69199,
    "c": 0.10133,
    "h": 213.8
  },
  "luminance": 0.3449
}

Semantic roles & 50–950 ramp

primary
#40ACC2
secondary
#CC9C92
accent
#654DDB
background
#F8FCFD
surface
#F0F8FA
border
#CBD1D3
text
#0C1314
muted
#7D8283

Preview Lab

Preview with #40ACC2

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

Preview Lab → · Contrast checker → · Palette generator →

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