#40A2D5#40A2D5

#40A2D5 is a light, moderate cyan. Relative luminance 0.317; OKLCH L 67.7% C 0.117 H 235.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#40A2D5
RGBrgb(64, 162, 213)
HSLhsl(201, 64%, 54%)
HSVhsv(201, 70%, 84%)
CMYKcmyk(70%, 23.9%, 0%, 16.5%)
CIE-LABlab(63.12, -12.19, -34.24)
CIE-LCHlch(63.12, 36.34, 250.40°)
OKLaboklab(67.66% -0.0671 -0.0963)
OKLCHoklch(67.66% 0.117 235.1)
XYZxyz(27.0402, 31.7317, 67.6376)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2D5 #D57340
analogous
#40D5BE #40A2D5 #4058D5
triadic
#40A2D5 #D540A2 #A2D540
tetradic
#40A2D5 #BE40D5 #D57340 #58D540
square
#40A2D5 #BE40D5 #D57340 #58D540
split-complementary
#40A2D5 #D54058 #D5BE40
monochromatic
#1C5D7F #2782B1 #40A2D5 #72BAE0 #A4D3EB

Accessibility & contrast

On white

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

On black

7.35
#40A2D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2D5
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2D5#FFFFFF#000000##000000
##40A2D51.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A1D7
Deuteranopia (green-blind)
#7592D4
Tritanopia (blue-blind)
#00AFB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a2d5;
/* rgb */ color: rgb(64, 162, 213);
/* oklch */ color: oklch(67.7% 0.117 235.1);
Tailwind
colors: {
  custom: {
    50: '#86bde2',
    500: '#40a2d5',
    950: '#000000',
  },
}
SCSS
$custom: #40a2d5;
$custom-light: #86bde2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2d5",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 213
  },
  "hsl": {
    "h": 200.537,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6766,
    "c": 0.11735,
    "h": 235.1
  },
  "luminance": 0.31735
}

Semantic roles & 50–950 ramp

primary
#40A2D5
secondary
#D8AE99
accent
#7A41E7
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A2D5

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

Preview Lab → · Contrast checker → · Palette generator →

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