#40A2D2#40A2D2

#40A2D2 is a light, moderate cyan. Relative luminance 0.316; OKLCH L 67.5% C 0.115 H 233.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#40A2D2
RGBrgb(64, 162, 210)
HSLhsl(200, 62%, 54%)
HSVhsv(200, 70%, 82%)
CMYKcmyk(69.5%, 22.9%, 0%, 17.6%)
CIE-LABlab(62.99, -13.18, -32.76)
CIE-LCHlch(62.99, 35.32, 248.08°)
OKLaboklab(67.52% -0.0681 -0.0921)
OKLCHoklch(67.52% 0.115 233.5)
XYZxyz(26.6629, 31.5808, 65.6508)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2D2 #D27040
analogous
#40D2B9 #40A2D2 #4059D2
triadic
#40A2D2 #D240A2 #A2D240
tetradic
#40A2D2 #B940D2 #D27040 #59D240
square
#40A2D2 #B940D2 #D27040 #59D240
split-complementary
#40A2D2 #D24059 #D2B940
monochromatic
#1D5C7B #2981AC #40A2D2 #72BADE #A3D2E9

Accessibility & contrast

On white

2.87
#40A2D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#40A2D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2D2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2D2#FFFFFF#000000##000000
##40A2D21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA0D4
Deuteranopia (green-blind)
#7792D1
Tritanopia (blue-blind)
#00AFB2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a2d2;
/* rgb */ color: rgb(64, 162, 210);
/* oklch */ color: oklch(67.5% 0.115 233.5);
Tailwind
colors: {
  custom: {
    50: '#86bde0',
    500: '#40a2d2',
    950: '#000000',
  },
}
SCSS
$custom: #40a2d2;
$custom-light: #86bde0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2d2",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 210
  },
  "hsl": {
    "h": 199.726,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.67519,
    "c": 0.1145,
    "h": 233.5
  },
  "luminance": 0.31584
}

Semantic roles & 50–950 ramp

primary
#40A2D2
secondary
#D6AC98
accent
#7843E5
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A2D2

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

Preview Lab → · Contrast checker → · Palette generator →

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