#40A5D4#40A5D4

#40A5D4 is a light, moderate cyan. Relative luminance 0.328; OKLCH L 68.3% C 0.115 H 232.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#40A5D4
RGBrgb(64, 165, 212)
HSLhsl(199, 63%, 54%)
HSVhsv(199, 70%, 83%)
CMYKcmyk(69.8%, 22.2%, 0%, 16.9%)
CIE-LABlab(63.96, -14.16, -32.38)
CIE-LCHlch(63.96, 35.34, 246.39°)
OKLaboklab(68.31% -0.0704 -0.0909)
OKLCHoklch(68.31% 0.115 232.3)
XYZxyz(27.4484, 32.7507, 67.1495)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5D4 #D46F40
analogous
#40D4B9 #40A5D4 #405BD4
triadic
#40A5D4 #D440A5 #A5D440
tetradic
#40A5D4 #B940D4 #D46F40 #5BD440
square
#40A5D4 #B940D4 #D46F40 #5BD440
split-complementary
#40A5D4 #D4405B #D4B940
monochromatic
#1C5F7D #2784AF #40A5D4 #72BDDF #A4D4EA

Accessibility & contrast

On white

2.78
#40A5D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#40A5D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5D4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5D4#FFFFFF#000000##000000
##40A5D41.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA3D6
Deuteranopia (green-blind)
#7995D3
Tritanopia (blue-blind)
#00B2B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a5d4;
/* rgb */ color: rgb(64, 165, 212);
/* oklch */ color: oklch(68.3% 0.115 232.3);
Tailwind
colors: {
  custom: {
    50: '#86bfe1',
    500: '#40a5d4',
    950: '#000000',
  },
}
SCSS
$custom: #40a5d4;
$custom-light: #86bfe1;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5d4",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 212
  },
  "hsl": {
    "h": 199.054,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.68314,
    "c": 0.11498,
    "h": 232.3
  },
  "luminance": 0.32754
}

Semantic roles & 50–950 ramp

primary
#40A5D4
secondary
#D7AC98
accent
#7642E6
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A5D4

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

Preview Lab → · Contrast checker → · Palette generator →

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