#40A8BC#40A8BC

#40A8BC is a light, moderate teal. Relative luminance 0.327; OKLCH L 68.0% C 0.098 H 212.7°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#40A8BC
RGBrgb(64, 168, 188)
HSLhsl(190, 49%, 49%)
HSVhsv(190, 66%, 74%)
CMYKcmyk(66%, 10.6%, 0%, 26.3%)
CIE-LABlab(63.94, -23.38, -19.06)
CIE-LCHlch(63.94, 30.17, 219.19°)
OKLaboklab(67.99% -0.0825 -0.053)
OKLCHoklch(67.99% 0.098 212.7)
XYZxyz(25.1903, 32.7233, 52.5559)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8BC #BC5440
analogous
#40BC92 #40A8BC #406ABC
triadic
#40A8BC #BC40A8 #A8BC40
tetradic
#40A8BC #9240BC #BC5440 #6ABC40
square
#40A8BC #9240BC #BC5440 #6ABC40
split-complementary
#40A8BC #BC406A #BC9240
monochromatic
#215661 #307F8E #40A8BC #6CBDCD #9AD2DD

Accessibility & contrast

On white

2.78
#40A8BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#40A8BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8BC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8BC#FFFFFF#000000##000000
##40A8BC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A2BD
Deuteranopia (green-blind)
#8795BC
Tritanopia (blue-blind)
#00B0AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a8bc;
/* rgb */ color: rgb(64, 168, 188);
/* oklch */ color: oklch(68.0% 0.098 212.7);
Tailwind
colors: {
  custom: {
    50: '#84c2d0',
    500: '#40a8bc',
    950: '#000000',
  },
}
SCSS
$custom: #40a8bc;
$custom-light: #84c2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8bc",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 188
  },
  "hsl": {
    "h": 189.677,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.67994,
    "c": 0.09805,
    "h": 212.7
  },
  "luminance": 0.32726
}

Semantic roles & 50–950 ramp

primary
#40A8BC
secondary
#C9998F
accent
#654FD9
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1214
muted
#7D8182

Preview Lab

Preview with #40A8BC

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

Preview Lab → · Contrast checker → · Palette generator →

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