#40B4DF#40B4DF

#40B4DF is a light, moderate cyan. Relative luminance 0.391; OKLCH L 72.3% C 0.119 H 226.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#40B4DF
RGBrgb(64, 180, 223)
HSLhsl(196, 71%, 56%)
HSVhsv(196, 71%, 87%)
CMYKcmyk(71.3%, 19.3%, 0%, 12.5%)
CIE-LABlab(68.79, -18.56, -30.96)
CIE-LCHlch(68.79, 36.09, 239.06°)
OKLaboklab(72.32% -0.0811 -0.0867)
OKLCHoklch(72.32% 0.119 226.9)
XYZxyz(31.7495, 39.0566, 75.6631)
Luminance0.3906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B4DF #DF6B40
analogous
#40DFBA #40B4DF #4065DF
triadic
#40B4DF #DF40B4 #B4DF40
tetradic
#40B4DF #BA40DF #DF6B40 #65DF40
square
#40B4DF #BA40DF #DF6B40 #65DF40
split-complementary
#40B4DF #DF4065 #DFBA40
monochromatic
#186D8D #2096C1 #40B4DF #74C9E8 #A9DDF1

Accessibility & contrast

On white

2.38
#40B4DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#40B4DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B4DF
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B4DF#FFFFFF#000000##000000
##40B4DF1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB1E1
Deuteranopia (green-blind)
#87A1DE
Tritanopia (blue-blind)
#00C0C2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40b4df;
/* rgb */ color: rgb(64, 180, 223);
/* oklch */ color: oklch(72.3% 0.119 226.9);
Tailwind
colors: {
  custom: {
    50: '#89cae9',
    500: '#40b4df',
    950: '#000000',
  },
}
SCSS
$custom: #40b4df;
$custom-light: #89cae9;
$custom-dark: #000000;
JSON
{
  "hex": "#40b4df",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 223
  },
  "hsl": {
    "h": 196.226,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.72319,
    "c": 0.11878,
    "h": 226.9
  },
  "luminance": 0.3906
}

Semantic roles & 50–950 ramp

primary
#40B4DF
secondary
#DEAE9D
accent
#6B3AEE
background
#F9FCFE
surface
#F1F8FC
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #40B4DF

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

Preview Lab → · Contrast checker → · Palette generator →

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