#40A4D8#40A4D8

#40A4D8 is a light, moderate cyan. Relative luminance 0.326; OKLCH L 68.3% C 0.119 H 235.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#40A4D8
RGBrgb(64, 164, 216)
HSLhsl(201, 66%, 55%)
HSVhsv(201, 70%, 85%)
CMYKcmyk(70.4%, 24.1%, 0%, 15.3%)
CIE-LABlab(63.83, -12.29, -34.79)
CIE-LCHlch(63.83, 36.90, 250.55°)
OKLaboklab(68.27% -0.068 -0.0979)
OKLCHoklch(68.27% 0.119 235.2)
XYZxyz(27.7796, 32.5957, 69.7800)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4D8 #D87440
analogous
#40D8C0 #40A4D8 #4058D8
triadic
#40A4D8 #D840A4 #A4D840
tetradic
#40A4D8 #C040D8 #D87440 #58D840
square
#40A4D8 #C040D8 #D87440 #58D840
split-complementary
#40A4D8 #D84058 #D8C040
monochromatic
#1B5F83 #2584B6 #40A4D8 #73BCE2 #A6D4ED

Accessibility & contrast

On white

2.79
#40A4D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#40A4D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4D8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4D8#FFFFFF#000000##000000
##40A4D81.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA3DA
Deuteranopia (green-blind)
#7694D7
Tritanopia (blue-blind)
#00B2B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a4d8;
/* rgb */ color: rgb(64, 164, 216);
/* oklch */ color: oklch(68.3% 0.119 235.2);
Tailwind
colors: {
  custom: {
    50: '#87bee4',
    500: '#40a4d8',
    950: '#000000',
  },
}
SCSS
$custom: #40a4d8;
$custom-light: #87bee4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4d8",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 216
  },
  "hsl": {
    "h": 200.526,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.68268,
    "c": 0.1192,
    "h": 235.2
  },
  "luminance": 0.32599
}

Semantic roles & 50–950 ramp

primary
#40A4D8
secondary
#DAB09A
accent
#793FE9
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #40A4D8

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

Preview Lab → · Contrast checker → · Palette generator →

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