#40AFD5#40AFD5

#40AFD5 is a light, moderate cyan. Relative luminance 0.366; OKLCH L 70.7% C 0.113 H 224.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#40AFD5
RGBrgb(64, 175, 213)
HSLhsl(195, 64%, 54%)
HSVhsv(195, 70%, 84%)
CMYKcmyk(70%, 17.8%, 0%, 16.5%)
CIE-LABlab(66.94, -19.16, -28.33)
CIE-LCHlch(66.94, 34.19, 235.93°)
OKLaboklab(70.71% -0.0799 -0.0792)
OKLCHoklch(70.71% 0.113 224.8)
XYZxyz(29.4497, 36.5507, 68.4408)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFD5 #D56640
analogous
#40D5B1 #40AFD5 #4065D5
triadic
#40AFD5 #D540AF #AFD540
tetradic
#40AFD5 #B140D5 #D56640 #65D540
square
#40AFD5 #B140D5 #D56640 #65D540
split-complementary
#40AFD5 #D54065 #D5B140
monochromatic
#1C667F #278EB1 #40AFD5 #72C4E0 #A4D9EB

Accessibility & contrast

On white

2.53
#40AFD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#40AFD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFD5
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFD5#FFFFFF#000000##000000
##40AFD51.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AABD7
Deuteranopia (green-blind)
#859CD5
Tritanopia (blue-blind)
#00BABB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40afd5;
/* rgb */ color: rgb(64, 175, 213);
/* oklch */ color: oklch(70.7% 0.113 224.8);
Tailwind
colors: {
  custom: {
    50: '#87c7e2',
    500: '#40afd5',
    950: '#000000',
  },
}
SCSS
$custom: #40afd5;
$custom-light: #87c7e2;
$custom-dark: #000000;
JSON
{
  "hex": "#40afd5",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 213
  },
  "hsl": {
    "h": 195.302,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.11254,
    "h": 224.8
  },
  "luminance": 0.36554
}

Semantic roles & 50–950 ramp

primary
#40AFD5
secondary
#D8A999
accent
#6B41E7
background
#F9FCFD
surface
#F1F8FB
border
#CBD1D4
text
#0D1315
muted
#7E8283

Preview Lab

Preview with #40AFD5

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

Preview Lab → · Contrast checker → · Palette generator →

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