#40A6CC#40A6CC

#40A6CC is a light, moderate cyan. Relative luminance 0.327; OKLCH L 68.2% C 0.108 H 226.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#40A6CC
RGBrgb(64, 166, 204)
HSLhsl(196, 58%, 53%)
HSVhsv(196, 69%, 80%)
CMYKcmyk(68.6%, 18.6%, 0%, 20%)
CIE-LABlab(63.93, -17.30, -27.98)
CIE-LCHlch(63.93, 32.90, 238.27°)
OKLaboklab(68.19% -0.0742 -0.0783)
OKLCHoklch(68.19% 0.108 226.5)
XYZxyz(26.6453, 32.7191, 62.0262)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A6CC #CC6640
analogous
#40CCAC #40A6CC #4060CC
triadic
#40A6CC #CC40A6 #A6CC40
tetradic
#40A6CC #AC40CC #CC6640 #60CC40
square
#40A6CC #AC40CC #CC6640 #60CC40
split-complementary
#40A6CC #CC4060 #CCAC40
monochromatic
#1F5C73 #2C83A3 #40A6CC #70BDD9 #A1D3E6

Accessibility & contrast

On white

2.78
#40A6CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#40A6CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A6CC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A6CC#FFFFFF#000000##000000
##40A6CC1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A3CE
Deuteranopia (green-blind)
#7E95CC
Tritanopia (blue-blind)
#00B1B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a6cc;
/* rgb */ color: rgb(64, 166, 204);
/* oklch */ color: oklch(68.2% 0.108 226.5);
Tailwind
colors: {
  custom: {
    50: '#85c0db',
    500: '#40a6cc',
    950: '#000000',
  },
}
SCSS
$custom: #40a6cc;
$custom-light: #85c0db;
$custom-dark: #000000;
JSON
{
  "hex": "#40a6cc",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 204
  },
  "hsl": {
    "h": 196.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.68187,
    "c": 0.10789,
    "h": 226.5
  },
  "luminance": 0.32722
}

Semantic roles & 50–950 ramp

primary
#40A6CC
secondary
#D2A695
accent
#7147E1
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A6CC

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

Preview Lab → · Contrast checker → · Palette generator →

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