#40A8D5#40A8D5

#40A8D5 is a light, moderate cyan. Relative luminance 0.339; OKLCH L 69.1% C 0.115 H 230.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#40A8D5
RGBrgb(64, 168, 213)
HSLhsl(198, 64%, 54%)
HSVhsv(198, 70%, 84%)
CMYKcmyk(70%, 21.1%, 0%, 16.5%)
CIE-LABlab(64.88, -15.44, -31.50)
CIE-LCHlch(64.88, 35.09, 243.88°)
OKLaboklab(69.06% -0.073 -0.0884)
OKLCHoklch(69.06% 0.115 230.5)
XYZxyz(28.1224, 33.8962, 67.9984)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8D5 #D56D40
analogous
#40D5B8 #40A8D5 #405ED5
triadic
#40A8D5 #D540A8 #A8D540
tetradic
#40A8D5 #B840D5 #D56D40 #5ED540
square
#40A8D5 #B840D5 #D56D40 #5ED540
split-complementary
#40A8D5 #D5405E #D5B840
monochromatic
#1C617F #2787B1 #40A8D5 #72BFE0 #A4D6EB

Accessibility & contrast

On white

2.70
#40A8D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#40A8D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8D5
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8D5#FFFFFF#000000##000000
##40A8D51.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A6D7
Deuteranopia (green-blind)
#7D97D4
Tritanopia (blue-blind)
#00B4B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40a8d5;
/* rgb */ color: rgb(64, 168, 213);
/* oklch */ color: oklch(69.1% 0.115 230.5);
Tailwind
colors: {
  custom: {
    50: '#87c1e2',
    500: '#40a8d5',
    950: '#000000',
  },
}
SCSS
$custom: #40a8d5;
$custom-light: #87c1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8d5",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 213
  },
  "hsl": {
    "h": 198.121,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.69062,
    "c": 0.11462,
    "h": 230.5
  },
  "luminance": 0.33899
}

Semantic roles & 50–950 ramp

primary
#40A8D5
secondary
#D8AC99
accent
#7341E7
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A8D5

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

Preview Lab → · Contrast checker → · Palette generator →

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