#40B7CC#40B7CC

#40B7CC is a light, moderate teal. Relative luminance 0.393; OKLCH L 72.2% C 0.107 H 211.7°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#40B7CC
RGBrgb(64, 183, 204)
HSLhsl(189, 58%, 53%)
HSVhsv(189, 69%, 80%)
CMYKcmyk(68.6%, 10.3%, 0%, 20%)
CIE-LABlab(68.98, -26.07, -20.25)
CIE-LCHlch(68.98, 33.01, 217.85°)
OKLaboklab(72.24% -0.0914 -0.0563)
OKLCHoklch(72.24% 0.107 211.7)
XYZxyz(29.9423, 39.3132, 63.1252)
Luminance0.3932 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B7CC #CC5540
analogous
#40CC9B #40B7CC #4071CC
triadic
#40B7CC #CC40B7 #B7CC40
tetradic
#40B7CC #9B40CC #CC5540 #71CC40
square
#40B7CC #9B40CC #CC5540 #71CC40
split-complementary
#40B7CC #CC4071 #CC9B40
monochromatic
#1F6673 #2C91A3 #40B7CC #70C9D9 #A1DBE6

Accessibility & contrast

On white

2.37
#40B7CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#40B7CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B7CC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B7CC#FFFFFF#000000##000000
##40B7CC1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B1CD
Deuteranopia (green-blind)
#92A2CC
Tritanopia (blue-blind)
#00C0BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40b7cc;
/* rgb */ color: rgb(64, 183, 204);
/* oklch */ color: oklch(72.2% 0.107 211.7);
Tailwind
colors: {
  custom: {
    50: '#87cddb',
    500: '#40b7cc',
    950: '#000000',
  },
}
SCSS
$custom: #40b7cc;
$custom-light: #87cddb;
$custom-dark: #000000;
JSON
{
  "hex": "#40b7cc",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 204
  },
  "hsl": {
    "h": 189,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.72236,
    "c": 0.10735,
    "h": 211.7
  },
  "luminance": 0.39317
}

Semantic roles & 50–950 ramp

primary
#40B7CC
secondary
#D29F95
accent
#5E47E1
background
#F8FCFD
surface
#F0F9FB
border
#CBD2D4
text
#0D1315
muted
#7D8283

Preview Lab

Preview with #40B7CC

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

Preview Lab → · Contrast checker → · Palette generator →

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