#40A2D8#40A2D8

#40A2D8 is a light, vivid cyan. Relative luminance 0.319; OKLCH L 67.8% C 0.120 H 236.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#40A2D8
RGBrgb(64, 162, 216)
HSLhsl(201, 66%, 55%)
HSVhsv(201, 70%, 85%)
CMYKcmyk(70.4%, 25%, 0%, 15.3%)
CIE-LABlab(63.25, -11.19, -35.70)
CIE-LCHlch(63.25, 37.41, 252.60°)
OKLaboklab(67.8% -0.066 -0.1005)
OKLCHoklch(67.8% 0.12 236.7)
XYZxyz(27.4245, 31.8854, 69.6616)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2D8 #D87640
analogous
#40D8C2 #40A2D8 #4056D8
triadic
#40A2D8 #D840A2 #A2D840
tetradic
#40A2D8 #C240D8 #D87640 #56D840
square
#40A2D8 #C240D8 #D87640 #56D840
split-complementary
#40A2D8 #D84056 #D8C240
monochromatic
#1B5E83 #2582B6 #40A2D8 #73BBE2 #A6D3ED

Accessibility & contrast

On white

2.85
#40A2D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#40A2D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2D8
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2D8#FFFFFF#000000##000000
##40A2D81.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A1DB
Deuteranopia (green-blind)
#7493D7
Tritanopia (blue-blind)
#00B0B4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a2d8;
/* rgb */ color: rgb(64, 162, 216);
/* oklch */ color: oklch(67.8% 0.120 236.7);
Tailwind
colors: {
  custom: {
    50: '#87bde4',
    500: '#40a2d8',
    950: '#000000',
  },
}
SCSS
$custom: #40a2d8;
$custom-light: #87bde4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2d8",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 216
  },
  "hsl": {
    "h": 201.316,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.67804,
    "c": 0.12029,
    "h": 236.7
  },
  "luminance": 0.31889
}

Semantic roles & 50–950 ramp

primary
#40A2D8
secondary
#DAB19A
accent
#7B3FE9
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A2D8

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

Preview Lab → · Contrast checker → · Palette generator →

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