#40A4C2#40A4C2

#40A4C2 is a light, moderate cyan. Relative luminance 0.315; OKLCH L 67.3% C 0.101 H 221.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#40A4C2
RGBrgb(64, 164, 194)
HSLhsl(194, 52%, 51%)
HSVhsv(194, 67%, 76%)
CMYKcmyk(67%, 15.5%, 0%, 23.9%)
CIE-LABlab(62.96, -19.44, -23.91)
CIE-LCHlch(62.96, 30.82, 230.89°)
OKLaboklab(67.28% -0.076 -0.0667)
OKLCHoklch(67.28% 0.101 221.3)
XYZxyz(25.1234, 31.5332, 55.7909)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4C2 #C25E40
analogous
#40C29F #40A4C2 #4063C2
triadic
#40A4C2 #C240A4 #A4C240
tetradic
#40A4C2 #9F40C2 #C25E40 #63C240
square
#40A4C2 #9F40C2 #C25E40 #63C240
split-complementary
#40A4C2 #C24063 #C29F40
monochromatic
#215767 #307E95 #40A4C2 #6EBAD1 #9DD0E0

Accessibility & contrast

On white

2.87
#40A4C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#40A4C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4C2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4C2#FFFFFF#000000##000000
##40A4C21.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A0C4
Deuteranopia (green-blind)
#8092C2
Tritanopia (blue-blind)
#00AEAE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a4c2;
/* rgb */ color: rgb(64, 164, 194);
/* oklch */ color: oklch(67.3% 0.101 221.3);
Tailwind
colors: {
  custom: {
    50: '#84bfd4',
    500: '#40a4c2',
    950: '#000000',
  },
}
SCSS
$custom: #40a4c2;
$custom-light: #84bfd4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4c2",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 194
  },
  "hsl": {
    "h": 193.846,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.67278,
    "c": 0.1011,
    "h": 221.3
  },
  "luminance": 0.31536
}

Semantic roles & 50–950 ramp

primary
#40A4C2
secondary
#CC9F92
accent
#6E4DDB
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A4C2

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

Preview Lab → · Contrast checker → · Palette generator →

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