#40B8DF#40B8DF

#40B8DF is a light, moderate cyan. Relative luminance 0.407; OKLCH L 73.3% C 0.118 H 223.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#40B8DF
RGBrgb(64, 184, 223)
HSLhsl(195, 71%, 56%)
HSVhsv(195, 71%, 87%)
CMYKcmyk(71.3%, 17.5%, 0%, 12.5%)
CIE-LABlab(69.96, -20.64, -29.15)
CIE-LCHlch(69.96, 35.72, 234.70°)
OKLaboklab(73.26% -0.085 -0.0816)
OKLCHoklch(73.26% 0.118 223.8)
XYZxyz(32.5687, 40.6949, 75.9362)
Luminance0.4070 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B8DF #DF6740
analogous
#40DFB7 #40B8DF #4069DF
triadic
#40B8DF #DF40B8 #B8DF40
tetradic
#40B8DF #B740DF #DF6740 #69DF40
square
#40B8DF #B740DF #DF6740 #69DF40
split-complementary
#40B8DF #DF4069 #DFB740
monochromatic
#18708D #209AC1 #40B8DF #74CBE8 #A9DFF1

Accessibility & contrast

On white

2.30
#40B8DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#40B8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B8DF
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B8DF#FFFFFF#000000##000000
##40B8DF1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B4E1
Deuteranopia (green-blind)
#8CA4DF
Tritanopia (blue-blind)
#00C4C5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40b8df;
/* rgb */ color: rgb(64, 184, 223);
/* oklch */ color: oklch(73.3% 0.118 223.8);
Tailwind
colors: {
  custom: {
    50: '#89cde9',
    500: '#40b8df',
    950: '#000000',
  },
}
SCSS
$custom: #40b8df;
$custom-light: #89cde9;
$custom-dark: #000000;
JSON
{
  "hex": "#40b8df",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 223
  },
  "hsl": {
    "h": 194.717,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.73255,
    "c": 0.11782,
    "h": 223.8
  },
  "luminance": 0.40699
}

Semantic roles & 50–950 ramp

primary
#40B8DF
secondary
#DEAD9D
accent
#663AEE
background
#F9FCFE
surface
#F1F9FC
border
#CBD2D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #40B8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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