#40A2D4#40A2D4

#40A2D4 is a light, moderate cyan. Relative luminance 0.317; OKLCH L 67.6% C 0.116 H 234.6°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#40A2D4
RGBrgb(64, 162, 212)
HSLhsl(200, 63%, 54%)
HSVhsv(200, 70%, 83%)
CMYKcmyk(69.8%, 23.6%, 0%, 16.9%)
CIE-LABlab(63.08, -12.52, -33.75)
CIE-LCHlch(63.08, 35.99, 249.64°)
OKLaboklab(67.61% -0.0674 -0.0949)
OKLCHoklch(67.61% 0.116 234.6)
XYZxyz(26.9137, 31.6811, 66.9712)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2D4 #D47240
analogous
#40D4BC #40A2D4 #4058D4
triadic
#40A2D4 #D440A2 #A2D440
tetradic
#40A2D4 #BC40D4 #D47240 #58D440
square
#40A2D4 #BC40D4 #D47240 #58D440
split-complementary
#40A2D4 #D44058 #D4BC40
monochromatic
#1C5D7D #2781AF #40A2D4 #72BADF #A4D3EA

Accessibility & contrast

On white

2.86
#40A2D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#40A2D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2D4
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2D4#FFFFFF#000000##000000
##40A2D41.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA1D6
Deuteranopia (green-blind)
#7692D3
Tritanopia (blue-blind)
#00AFB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a2d4;
/* rgb */ color: rgb(64, 162, 212);
/* oklch */ color: oklch(67.6% 0.116 234.6);
Tailwind
colors: {
  custom: {
    50: '#86bde1',
    500: '#40a2d4',
    950: '#000000',
  },
}
SCSS
$custom: #40a2d4;
$custom-light: #86bde1;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2d4",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 212
  },
  "hsl": {
    "h": 200.27,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.67613,
    "c": 0.11638,
    "h": 234.6
  },
  "luminance": 0.31684
}

Semantic roles & 50–950 ramp

primary
#40A2D4
secondary
#D7AE98
accent
#7942E6
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A2D4

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

Preview Lab → · Contrast checker → · Palette generator →

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