#40A2CC#40A2CC

#40A2CC is a light, moderate cyan. Relative luminance 0.313; OKLCH L 67.2% C 0.109 H 230.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#40A2CC
RGBrgb(64, 162, 204)
HSLhsl(198, 58%, 53%)
HSVhsv(198, 69%, 80%)
CMYKcmyk(68.6%, 20.6%, 0%, 20%)
CIE-LABlab(62.75, -15.16, -29.81)
CIE-LCHlch(62.75, 33.44, 243.05°)
OKLaboklab(67.24% -0.0702 -0.0835)
OKLCHoklch(67.24% 0.109 230)
XYZxyz(25.9294, 31.2874, 61.7876)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2CC #CC6A40
analogous
#40CCB0 #40A2CC #405CCC
triadic
#40A2CC #CC40A2 #A2CC40
tetradic
#40A2CC #B040CC #CC6A40 #5CCC40
square
#40A2CC #B040CC #CC6A40 #5CCC40
split-complementary
#40A2CC #CC405C #CCB040
monochromatic
#1F5A73 #2C7FA3 #40A2CC #70BAD9 #A1D1E6

Accessibility & contrast

On white

2.89
#40A2CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#40A2CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2CC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2CC#FFFFFF#000000##000000
##40A2CC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CE
Deuteranopia (green-blind)
#7992CB
Tritanopia (blue-blind)
#00AEB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a2cc;
/* rgb */ color: rgb(64, 162, 204);
/* oklch */ color: oklch(67.2% 0.109 230.0);
Tailwind
colors: {
  custom: {
    50: '#85bddb',
    500: '#40a2cc',
    950: '#000000',
  },
}
SCSS
$custom: #40a2cc;
$custom-light: #85bddb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2cc",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 204
  },
  "hsl": {
    "h": 198,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.67242,
    "c": 0.10913,
    "h": 230
  },
  "luminance": 0.3129
}

Semantic roles & 50–950 ramp

primary
#40A2CC
secondary
#D2A895
accent
#7547E1
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A2CC

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

Preview Lab → · Contrast checker → · Palette generator →

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