#40A5D7#40A5D7

#40A5D7 is a light, moderate cyan. Relative luminance 0.329; OKLCH L 68.5% C 0.118 H 233.9°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#40A5D7
RGBrgb(64, 165, 215)
HSLhsl(200, 65%, 55%)
HSVhsv(200, 70%, 84%)
CMYKcmyk(70.2%, 23.3%, 0%, 15.7%)
CIE-LABlab(64.08, -13.16, -33.85)
CIE-LCHlch(64.08, 36.32, 248.75°)
OKLaboklab(68.45% -0.0693 -0.0952)
OKLCHoklch(68.45% 0.118 233.9)
XYZxyz(27.8304, 32.9034, 69.1611)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5D7 #D77240
analogous
#40D7BE #40A5D7 #4059D7
triadic
#40A5D7 #D740A5 #A5D740
tetradic
#40A5D7 #BE40D7 #D77240 #59D740
square
#40A5D7 #BE40D7 #D77240 #59D740
split-complementary
#40A5D7 #D74059 #D7BE40
monochromatic
#1B6081 #2685B4 #40A5D7 #73BDE2 #A5D5EC

Accessibility & contrast

On white

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

On black

7.58
#40A5D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5D7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5D7#FFFFFF#000000##000000
##40A5D71.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA4D9
Deuteranopia (green-blind)
#7895D6
Tritanopia (blue-blind)
#00B2B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a5d7;
/* rgb */ color: rgb(64, 165, 215);
/* oklch */ color: oklch(68.5% 0.118 233.9);
Tailwind
colors: {
  custom: {
    50: '#87bfe3',
    500: '#40a5d7',
    950: '#000000',
  },
}
SCSS
$custom: #40a5d7;
$custom-light: #87bfe3;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5d7",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 215
  },
  "hsl": {
    "h": 199.868,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.68454,
    "c": 0.11774,
    "h": 233.9
  },
  "luminance": 0.32907
}

Semantic roles & 50–950 ramp

primary
#40A5D7
secondary
#D9AF9A
accent
#773FE8
background
#F9FBFD
surface
#F1F7FB
border
#CBD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #40A5D7

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

Preview Lab → · Contrast checker → · Palette generator →

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