#40A6D4#40A6D4

#40A6D4 is a light, moderate cyan. Relative luminance 0.331; OKLCH L 68.5% C 0.115 H 231.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#40A6D4
RGBrgb(64, 166, 212)
HSLhsl(199, 63%, 54%)
HSVhsv(199, 70%, 83%)
CMYKcmyk(69.8%, 21.7%, 0%, 16.9%)
CIE-LABlab(64.25, -14.70, -31.92)
CIE-LCHlch(64.25, 35.14, 245.28°)
OKLaboklab(68.55% -0.0713 -0.0896)
OKLCHoklch(68.55% 0.115 231.5)
XYZxyz(27.6295, 33.1128, 67.2099)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A6D4 #D46E40
analogous
#40D4B8 #40A6D4 #405CD4
triadic
#40A6D4 #D440A6 #A6D440
tetradic
#40A6D4 #B840D4 #D46E40 #5CD440
square
#40A6D4 #B840D4 #D46E40 #5CD440
split-complementary
#40A6D4 #D4405C #D4B840
monochromatic
#1C5F7D #2785AF #40A6D4 #72BDDF #A4D5EA

Accessibility & contrast

On white

2.75
#40A6D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#40A6D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A6D4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A6D4#FFFFFF#000000##000000
##40A6D41.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA4D6
Deuteranopia (green-blind)
#7B95D3
Tritanopia (blue-blind)
#00B3B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a6d4;
/* rgb */ color: rgb(64, 166, 212);
/* oklch */ color: oklch(68.5% 0.115 231.5);
Tailwind
colors: {
  custom: {
    50: '#86c0e1',
    500: '#40a6d4',
    950: '#000000',
  },
}
SCSS
$custom: #40a6d4;
$custom-light: #86c0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#40a6d4",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 212
  },
  "hsl": {
    "h": 198.649,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.68548,
    "c": 0.11455,
    "h": 231.5
  },
  "luminance": 0.33116
}

Semantic roles & 50–950 ramp

primary
#40A6D4
secondary
#D7AC98
accent
#7542E6
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A6D4

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

Preview Lab → · Contrast checker → · Palette generator →

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