#40A6C2#40A6C2

#40A6C2 is a light, moderate cyan. Relative luminance 0.323; OKLCH L 67.8% C 0.101 H 219.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#40A6C2
RGBrgb(64, 166, 194)
HSLhsl(193, 52%, 51%)
HSVhsv(193, 67%, 76%)
CMYKcmyk(67%, 14.4%, 0%, 23.9%)
CIE-LABlab(63.55, -20.49, -23.00)
CIE-LCHlch(63.55, 30.80, 228.30°)
OKLaboklab(67.76% -0.078 -0.0641)
OKLCHoklch(67.76% 0.101 219.4)
XYZxyz(25.4842, 32.2547, 55.9112)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A6C2 #C25C40
analogous
#40C29D #40A6C2 #4065C2
triadic
#40A6C2 #C240A6 #A6C240
tetradic
#40A6C2 #9D40C2 #C25C40 #65C240
square
#40A6C2 #9D40C2 #C25C40 #65C240
split-complementary
#40A6C2 #C24065 #C29D40
monochromatic
#215867 #307F95 #40A6C2 #6EBCD1 #9DD1E0

Accessibility & contrast

On white

2.82
#40A6C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#40A6C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A6C2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A6C2#FFFFFF#000000##000000
##40A6C21.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A2C4
Deuteranopia (green-blind)
#8294C2
Tritanopia (blue-blind)
#00AFAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a6c2;
/* rgb */ color: rgb(64, 166, 194);
/* oklch */ color: oklch(67.8% 0.101 219.4);
Tailwind
colors: {
  custom: {
    50: '#84c0d4',
    500: '#40a6c2',
    950: '#000000',
  },
}
SCSS
$custom: #40a6c2;
$custom-light: #84c0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a6c2",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 194
  },
  "hsl": {
    "h": 192.923,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.67757,
    "c": 0.10099,
    "h": 219.4
  },
  "luminance": 0.32257
}

Semantic roles & 50–950 ramp

primary
#40A6C2
secondary
#CC9E92
accent
#6B4DDB
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A6C2

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

Preview Lab → · Contrast checker → · Palette generator →

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