#40A5D6#40A5D6

#40A5D6 is a light, moderate cyan. Relative luminance 0.329; OKLCH L 68.4% C 0.117 H 233.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#40A5D6
RGBrgb(64, 165, 214)
HSLhsl(200, 65%, 55%)
HSVhsv(200, 70%, 84%)
CMYKcmyk(70.1%, 22.9%, 0%, 16.1%)
CIE-LABlab(64.04, -13.50, -33.36)
CIE-LCHlch(64.04, 35.99, 247.97°)
OKLaboklab(68.41% -0.0697 -0.0937)
OKLCHoklch(68.41% 0.117 233.4)
XYZxyz(27.7023, 32.8522, 68.4864)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5D6 #D67140
analogous
#40D6BC #40A5D6 #405AD6
triadic
#40A5D6 #D640A5 #A5D640
tetradic
#40A5D6 #BC40D6 #D67140 #5AD640
square
#40A5D6 #BC40D6 #D67140 #5AD640
split-complementary
#40A5D6 #D6405A #D6BC40
monochromatic
#1B5F80 #2685B2 #40A5D6 #72BDE1 #A5D4EC

Accessibility & contrast

On white

2.77
#40A5D6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#40A5D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5D6
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5D6#FFFFFF#000000##000000
##40A5D61.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA3D8
Deuteranopia (green-blind)
#7895D5
Tritanopia (blue-blind)
#00B2B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a5d6;
/* rgb */ color: rgb(64, 165, 214);
/* oklch */ color: oklch(68.4% 0.117 233.4);
Tailwind
colors: {
  custom: {
    50: '#87bfe2',
    500: '#40a5d6',
    950: '#000000',
  },
}
SCSS
$custom: #40a5d6;
$custom-light: #87bfe2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5d6",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 214
  },
  "hsl": {
    "h": 199.6,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.68407,
    "c": 0.1168,
    "h": 233.4
  },
  "luminance": 0.32855
}

Semantic roles & 50–950 ramp

primary
#40A5D6
secondary
#D9AE99
accent
#7740E8
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A5D6

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

Preview Lab → · Contrast checker → · Palette generator →

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