#40AFDB#40AFDB

#40AFDB is a light, moderate cyan. Relative luminance 0.369; OKLCH L 71.0% C 0.117 H 228.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#40AFDB
RGBrgb(64, 175, 219)
HSLhsl(197, 68%, 55%)
HSVhsv(197, 71%, 86%)
CMYKcmyk(70.8%, 20.1%, 0%, 14.1%)
CIE-LABlab(67.17, -17.22, -31.26)
CIE-LCHlch(67.17, 35.69, 241.15°)
OKLaboklab(70.97% -0.0777 -0.0877)
OKLCHoklch(70.97% 0.117 228.4)
XYZxyz(30.2253, 36.8610, 72.5260)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFDB #DB6C40
analogous
#40DBB9 #40AFDB #4061DB
triadic
#40AFDB #DB40AF #AFDB40
tetradic
#40AFDB #B940DB #DB6C40 #61DB40
square
#40AFDB #B940DB #DB6C40 #61DB40
split-complementary
#40AFDB #DB4061 #DBB940
monochromatic
#196887 #2390BB #40AFDB #73C5E5 #A7DAEE

Accessibility & contrast

On white

2.51
#40AFDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#40AFDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFDB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFDB#FFFFFF#000000##000000
##40AFDB1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ACDD
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#00BBBE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40afdb;
/* rgb */ color: rgb(64, 175, 219);
/* oklch */ color: oklch(71.0% 0.117 228.4);
Tailwind
colors: {
  custom: {
    50: '#88c7e6',
    500: '#40afdb',
    950: '#000000',
  },
}
SCSS
$custom: #40afdb;
$custom-light: #88c7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#40afdb",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 219
  },
  "hsl": {
    "h": 197.032,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.70972,
    "c": 0.11715,
    "h": 228.4
  },
  "luminance": 0.36864
}

Semantic roles & 50–950 ramp

primary
#40AFDB
secondary
#DCAD9B
accent
#6E3DEB
background
#F9FCFE
surface
#F1F8FC
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #40AFDB

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

Preview Lab → · Contrast checker → · Palette generator →

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