#40A0D2#40A0D2

#40A0D2 is a light, moderate cyan. Relative luminance 0.309; OKLCH L 67.1% C 0.115 H 235.1°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#40A0D2
RGBrgb(64, 160, 210)
HSLhsl(201, 62%, 54%)
HSVhsv(201, 70%, 82%)
CMYKcmyk(69.5%, 23.8%, 0%, 17.6%)
CIE-LABlab(62.41, -12.09, -33.68)
CIE-LCHlch(62.41, 35.78, 250.25°)
OKLaboklab(67.05% -0.0661 -0.0947)
OKLCHoklch(67.05% 0.115 235.1)
XYZxyz(26.3134, 30.8818, 65.5343)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A0D2 #D27240
analogous
#40D2BB #40A0D2 #4057D2
triadic
#40A0D2 #D240A0 #A0D240
tetradic
#40A0D2 #BB40D2 #D27240 #57D240
square
#40A0D2 #BB40D2 #D27240 #57D240
split-complementary
#40A0D2 #D24057 #D2BB40
monochromatic
#1D5B7B #297FAC #40A0D2 #72B9DE #A3D1E9

Accessibility & contrast

On white

2.93
#40A0D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#40A0D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A0D2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A0D2#FFFFFF#000000##000000
##40A0D21.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#889FD4
Deuteranopia (green-blind)
#7491D1
Tritanopia (blue-blind)
#00ADB1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a0d2;
/* rgb */ color: rgb(64, 160, 210);
/* oklch */ color: oklch(67.1% 0.115 235.1);
Tailwind
colors: {
  custom: {
    50: '#86bce0',
    500: '#40a0d2',
    950: '#000000',
  },
}
SCSS
$custom: #40a0d2;
$custom-light: #86bce0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a0d2",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 210
  },
  "hsl": {
    "h": 200.548,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.67051,
    "c": 0.11549,
    "h": 235.1
  },
  "luminance": 0.30885
}

Semantic roles & 50–950 ramp

primary
#40A0D2
secondary
#D6AD98
accent
#7A43E5
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A0D2

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

Preview Lab → · Contrast checker → · Palette generator →

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