#40A6D2#40A6D2

#40A6D2 is a light, moderate cyan. Relative luminance 0.330; OKLCH L 68.5% C 0.113 H 230.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#40A6D2
RGBrgb(64, 166, 210)
HSLhsl(198, 62%, 54%)
HSVhsv(198, 70%, 82%)
CMYKcmyk(69.5%, 21%, 0%, 17.6%)
CIE-LABlab(64.17, -15.35, -30.94)
CIE-LCHlch(64.17, 34.54, 243.61°)
OKLaboklab(68.46% -0.0721 -0.0868)
OKLCHoklch(68.46% 0.113 230.3)
XYZxyz(27.3788, 33.0125, 65.8894)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A6D2 #D26C40
analogous
#40D2B5 #40A6D2 #405DD2
triadic
#40A6D2 #D240A6 #A6D240
tetradic
#40A6D2 #B540D2 #D26C40 #5DD240
square
#40A6D2 #B540D2 #D26C40 #5DD240
split-complementary
#40A6D2 #D2405D #D2B540
monochromatic
#1D5E7B #2985AC #40A6D2 #72BDDE #A3D4E9

Accessibility & contrast

On white

2.76
#40A6D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#40A6D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A6D2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A6D2#FFFFFF#000000##000000
##40A6D21.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A4D4
Deuteranopia (green-blind)
#7C95D1
Tritanopia (blue-blind)
#00B2B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a6d2;
/* rgb */ color: rgb(64, 166, 210);
/* oklch */ color: oklch(68.5% 0.113 230.3);
Tailwind
colors: {
  custom: {
    50: '#86c0e0',
    500: '#40a6d2',
    950: '#000000',
  },
}
SCSS
$custom: #40a6d2;
$custom-light: #86c0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a6d2",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 210
  },
  "hsl": {
    "h": 198.082,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.68456,
    "c": 0.1128,
    "h": 230.3
  },
  "luminance": 0.33016
}

Semantic roles & 50–950 ramp

primary
#40A6D2
secondary
#D6AA98
accent
#7443E5
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A6D2

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

Preview Lab → · Contrast checker → · Palette generator →

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