#40A2CA#40A2CA

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

Color values

HEX#40A2CA
RGBrgb(64, 162, 202)
HSLhsl(197, 57%, 52%)
HSVhsv(197, 68%, 79%)
CMYKcmyk(68.3%, 19.8%, 0%, 20.8%)
CIE-LABlab(62.67, -15.81, -28.82)
CIE-LCHlch(62.67, 32.87, 241.25°)
OKLaboklab(67.15% -0.0709 -0.0807)
OKLCHoklch(67.15% 0.107 228.7)
XYZxyz(25.6911, 31.1921, 60.5324)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2CA #CA6840
analogous
#40CAAD #40A2CA #405DCA
triadic
#40A2CA #CA40A2 #A2CA40
tetradic
#40A2CA #AD40CA #CA6840 #5DCA40
square
#40A2CA #AD40CA #CA6840 #5DCA40
split-complementary
#40A2CA #CA405D #CAAD40
monochromatic
#1F5970 #2C7FA0 #40A2CA #70B9D7 #A0D1E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A2CA#FFFFFF#000000##000000
##40A2CA1.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)
#8D9FCC
Deuteranopia (green-blind)
#7A92C9
Tritanopia (blue-blind)
#00ADAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a2ca;
/* rgb */ color: rgb(64, 162, 202);
/* oklch */ color: oklch(67.2% 0.107 228.7);
Tailwind
colors: {
  custom: {
    50: '#85bdda',
    500: '#40a2ca',
    950: '#000000',
  },
}
SCSS
$custom: #40a2ca;
$custom-light: #85bdda;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2ca",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 202
  },
  "hsl": {
    "h": 197.391,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.67152,
    "c": 0.10745,
    "h": 228.7
  },
  "luminance": 0.31195
}

Semantic roles & 50–950 ramp

primary
#40A2CA
secondary
#D1A695
accent
#7448E0
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A2CA

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

Preview Lab → · Contrast checker → · Palette generator →

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