#40A5D3#40A5D3

#40A5D3 is a light, moderate cyan. Relative luminance 0.327; OKLCH L 68.3% C 0.114 H 231.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#40A5D3
RGBrgb(64, 165, 211)
HSLhsl(199, 63%, 54%)
HSVhsv(199, 70%, 83%)
CMYKcmyk(69.7%, 21.8%, 0%, 17.3%)
CIE-LABlab(63.92, -14.48, -31.89)
CIE-LCHlch(63.92, 35.02, 245.57°)
OKLaboklab(68.27% -0.0707 -0.0895)
OKLCHoklch(68.27% 0.114 231.7)
XYZxyz(27.3227, 32.7004, 66.4872)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5D3 #D36E40
analogous
#40D3B8 #40A5D3 #405CD3
triadic
#40A5D3 #D340A5 #A5D340
tetradic
#40A5D3 #B840D3 #D36E40 #5CD340
square
#40A5D3 #B840D3 #D36E40 #5CD340
split-complementary
#40A5D3 #D3405C #D3B840
monochromatic
#1D5E7C #2884AE #40A5D3 #72BCDE #A3D4EA

Accessibility & contrast

On white

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

On black

7.54
#40A5D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5D3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5D3#FFFFFF#000000##000000
##40A5D31.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA3D5
Deuteranopia (green-blind)
#7A94D2
Tritanopia (blue-blind)
#00B1B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a5d3;
/* rgb */ color: rgb(64, 165, 211);
/* oklch */ color: oklch(68.3% 0.114 231.7);
Tailwind
colors: {
  custom: {
    50: '#86bfe0',
    500: '#40a5d3',
    950: '#000000',
  },
}
SCSS
$custom: #40a5d3;
$custom-light: #86bfe0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5d3",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 211
  },
  "hsl": {
    "h": 198.776,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.68268,
    "c": 0.11408,
    "h": 231.7
  },
  "luminance": 0.32703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A5D3

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

Preview Lab → · Contrast checker → · Palette generator →

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