#40A8D3#40A8D3

#40A8D3 is a light, moderate cyan. Relative luminance 0.338; OKLCH L 69.0% C 0.113 H 229.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#40A8D3
RGBrgb(64, 168, 211)
HSLhsl(198, 63%, 54%)
HSVhsv(198, 70%, 83%)
CMYKcmyk(69.7%, 20.4%, 0%, 17.3%)
CIE-LABlab(64.80, -16.10, -30.52)
CIE-LCHlch(64.80, 34.51, 242.19°)
OKLaboklab(68.97% -0.0737 -0.0856)
OKLCHoklch(68.97% 0.113 229.3)
XYZxyz(27.8701, 33.7953, 66.6697)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8D3 #D36B40
analogous
#40D3B5 #40A8D3 #405FD3
triadic
#40A8D3 #D340A8 #A8D340
tetradic
#40A8D3 #B540D3 #D36B40 #5FD340
square
#40A8D3 #B540D3 #D36B40 #5FD340
split-complementary
#40A8D3 #D3405F #D3B540
monochromatic
#1D607C #2887AE #40A8D3 #72BFDE #A3D5EA

Accessibility & contrast

On white

2.71
#40A8D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#40A8D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8D3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8D3#FFFFFF#000000##000000
##40A8D31.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D5
Deuteranopia (green-blind)
#7E97D2
Tritanopia (blue-blind)
#00B4B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40a8d3;
/* rgb */ color: rgb(64, 168, 211);
/* oklch */ color: oklch(69.0% 0.113 229.3);
Tailwind
colors: {
  custom: {
    50: '#86c1e0',
    500: '#40a8d3',
    950: '#000000',
  },
}
SCSS
$custom: #40a8d3;
$custom-light: #86c1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8d3",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 211
  },
  "hsl": {
    "h": 197.551,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.68971,
    "c": 0.11293,
    "h": 229.3
  },
  "luminance": 0.33798
}

Semantic roles & 50–950 ramp

primary
#40A8D3
secondary
#D7AA98
accent
#7242E6
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A8D3

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

Preview Lab → · Contrast checker → · Palette generator →

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