#40A0CC#40A0CC

#40A0CC is a light, moderate cyan. Relative luminance 0.306; OKLCH L 66.8% C 0.110 H 231.7°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#40A0CC
RGBrgb(64, 160, 204)
HSLhsl(199, 58%, 53%)
HSVhsv(199, 69%, 80%)
CMYKcmyk(68.6%, 21.6%, 0%, 20%)
CIE-LABlab(62.16, -14.07, -30.72)
CIE-LCHlch(62.16, 33.79, 245.39°)
OKLaboklab(66.77% -0.0682 -0.0862)
OKLCHoklch(66.77% 0.11 231.7)
XYZxyz(25.5799, 30.5884, 61.6711)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A0CC #CC6C40
analogous
#40CCB2 #40A0CC #405ACC
triadic
#40A0CC #CC40A0 #A0CC40
tetradic
#40A0CC #B240CC #CC6C40 #5ACC40
square
#40A0CC #B240CC #CC6C40 #5ACC40
split-complementary
#40A0CC #CC405A #CCB240
monochromatic
#1F5873 #2C7EA3 #40A0CC #70B8D9 #A1D0E6

Accessibility & contrast

On white

2.95
#40A0CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#40A0CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A0CC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A0CC#FFFFFF#000000##000000
##40A0CC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECE
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#00ACAF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a0cc;
/* rgb */ color: rgb(64, 160, 204);
/* oklch */ color: oklch(66.8% 0.110 231.7);
Tailwind
colors: {
  custom: {
    50: '#85bcdb',
    500: '#40a0cc',
    950: '#000000',
  },
}
SCSS
$custom: #40a0cc;
$custom-light: #85bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a0cc",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 204
  },
  "hsl": {
    "h": 198.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.66771,
    "c": 0.1099,
    "h": 231.7
  },
  "luminance": 0.30591
}

Semantic roles & 50–950 ramp

primary
#40A0CC
secondary
#D2A995
accent
#7747E1
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A0CC

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

Preview Lab → · Contrast checker → · Palette generator →

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