#40A3C2#40A3C2

#40A3C2 is a light, moderate cyan. Relative luminance 0.312; OKLCH L 67.0% C 0.101 H 222.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#40A3C2
RGBrgb(64, 163, 194)
HSLhsl(194, 52%, 51%)
HSVhsv(194, 67%, 76%)
CMYKcmyk(67%, 16%, 0%, 23.9%)
CIE-LABlab(62.66, -18.91, -24.37)
CIE-LCHlch(62.66, 30.85, 232.19°)
OKLaboklab(67.04% -0.0749 -0.068)
OKLCHoklch(67.04% 0.101 222.2)
XYZxyz(24.9452, 31.1767, 55.7315)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A3C2 #C25F40
analogous
#40C2A0 #40A3C2 #4062C2
triadic
#40A3C2 #C240A3 #A3C240
tetradic
#40A3C2 #A040C2 #C25F40 #62C240
square
#40A3C2 #A040C2 #C25F40 #62C240
split-complementary
#40A3C2 #C24062 #C2A040
monochromatic
#215667 #307D95 #40A3C2 #6EB9D1 #9DD0E0

Accessibility & contrast

On white

2.90
#40A3C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#40A3C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A3C2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A3C2#FFFFFF#000000##000000
##40A3C21.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#919FC4
Deuteranopia (green-blind)
#7F92C2
Tritanopia (blue-blind)
#00ADAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a3c2;
/* rgb */ color: rgb(64, 163, 194);
/* oklch */ color: oklch(67.0% 0.101 222.2);
Tailwind
colors: {
  custom: {
    50: '#84bed4',
    500: '#40a3c2',
    950: '#000000',
  },
}
SCSS
$custom: #40a3c2;
$custom-light: #84bed4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a3c2",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 194
  },
  "hsl": {
    "h": 194.308,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.67039,
    "c": 0.10121,
    "h": 222.2
  },
  "luminance": 0.31179
}

Semantic roles & 50–950 ramp

primary
#40A3C2
secondary
#CCA092
accent
#6F4DDB
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A3C2

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

Preview Lab → · Contrast checker → · Palette generator →

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