#40A0C8#40A0C8

#40A0C8 is a light, moderate cyan. Relative luminance 0.304; OKLCH L 66.6% C 0.106 H 229.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#40A0C8
RGBrgb(64, 160, 200)
HSLhsl(198, 55%, 52%)
HSVhsv(198, 68%, 78%)
CMYKcmyk(68%, 20%, 0%, 21.6%)
CIE-LABlab(62.00, -15.38, -28.74)
CIE-LCHlch(62.00, 32.59, 241.84°)
OKLaboklab(66.59% -0.0696 -0.0805)
OKLCHoklch(66.59% 0.106 229.1)
XYZxyz(25.1063, 30.3990, 59.1768)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A0C8 #C86840
analogous
#40C8AC #40A0C8 #405CC8
triadic
#40A0C8 #C840A0 #A0C840
tetradic
#40A0C8 #AC40C8 #C86840 #5CC840
square
#40A0C8 #AC40C8 #C86840 #5CC840
split-complementary
#40A0C8 #C8405C #C8AC40
monochromatic
#20576E #2D7C9D #40A0C8 #70B8D6 #9FCFE3

Accessibility & contrast

On white

2.97
#40A0C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#40A0C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A0C8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A0C8#FFFFFF#000000##000000
##40A0C81.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECA
Deuteranopia (green-blind)
#7990C7
Tritanopia (blue-blind)
#00ABAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a0c8;
/* rgb */ color: rgb(64, 160, 200);
/* oklch */ color: oklch(66.6% 0.106 229.1);
Tailwind
colors: {
  custom: {
    50: '#84bcd8',
    500: '#40a0c8',
    950: '#000000',
  },
}
SCSS
$custom: #40a0c8;
$custom-light: #84bcd8;
$custom-dark: #000000;
JSON
{
  "hex": "#40a0c8",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 200
  },
  "hsl": {
    "h": 197.647,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.66588,
    "c": 0.10644,
    "h": 229.1
  },
  "luminance": 0.30402
}

Semantic roles & 50–950 ramp

primary
#40A0C8
secondary
#D0A694
accent
#7549DF
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A0C8

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

Preview Lab → · Contrast checker → · Palette generator →

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