#40AFD4#40AFD4

#40AFD4 is a light, moderate cyan. Relative luminance 0.365; OKLCH L 70.7% C 0.112 H 224.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#40AFD4
RGBrgb(64, 175, 212)
HSLhsl(195, 63%, 54%)
HSVhsv(195, 70%, 83%)
CMYKcmyk(69.8%, 17.5%, 0%, 16.9%)
CIE-LABlab(66.90, -19.48, -27.83)
CIE-LCHlch(66.90, 33.97, 235.02°)
OKLaboklab(70.66% -0.0803 -0.0778)
OKLCHoklch(70.66% 0.112 224.1)
XYZxyz(29.3231, 36.5001, 67.7744)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFD4 #D46540
analogous
#40D4AF #40AFD4 #4065D4
triadic
#40AFD4 #D440AF #AFD440
tetradic
#40AFD4 #AF40D4 #D46540 #65D440
square
#40AFD4 #AF40D4 #D46540 #65D440
split-complementary
#40AFD4 #D44065 #D4AF40
monochromatic
#1C657D #278DAF #40AFD4 #72C4DF #A4D9EA

Accessibility & contrast

On white

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

On black

8.30
#40AFD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFD4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFD4#FFFFFF#000000##000000
##40AFD41.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AABD6
Deuteranopia (green-blind)
#869CD4
Tritanopia (blue-blind)
#00BABB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40afd4;
/* rgb */ color: rgb(64, 175, 212);
/* oklch */ color: oklch(70.7% 0.112 224.1);
Tailwind
colors: {
  custom: {
    50: '#87c7e1',
    500: '#40afd4',
    950: '#000000',
  },
}
SCSS
$custom: #40afd4;
$custom-light: #87c7e1;
$custom-dark: #000000;
JSON
{
  "hex": "#40afd4",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 212
  },
  "hsl": {
    "h": 195,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.70664,
    "c": 0.11181,
    "h": 224.1
  },
  "luminance": 0.36503
}

Semantic roles & 50–950 ramp

primary
#40AFD4
secondary
#D7A898
accent
#6B42E6
background
#F9FCFD
surface
#F1F8FB
border
#CBD1D4
text
#0D1315
muted
#7E8283

Preview Lab

Preview with #40AFD4

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

Preview Lab → · Contrast checker → · Palette generator →

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