#40A8B2#40A8B2

#40A8B2 is a light, moderate teal. Relative luminance 0.323; OKLCH L 67.6% C 0.095 H 204.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#40A8B2
RGBrgb(64, 168, 178)
HSLhsl(185, 47%, 47%)
HSVhsv(185, 64%, 70%)
CMYKcmyk(64%, 5.6%, 0%, 30.2%)
CIE-LABlab(63.60, -26.40, -14.00)
CIE-LCHlch(63.60, 29.88, 207.93°)
OKLaboklab(67.61% -0.0867 -0.0388)
OKLCHoklch(67.61% 0.095 204.1)
XYZxyz(24.1494, 32.3070, 47.0740)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8B2 #B24A40
analogous
#40B283 #40A8B2 #406FB2
triadic
#40A8B2 #B240A8 #A8B240
tetradic
#40A8B2 #8340B2 #B24A40 #6FB240
square
#40A8B2 #8340B2 #B24A40 #6FB240
split-complementary
#40A8B2 #B2406F #B28340
monochromatic
#205358 #307E85 #40A8B2 #67C0C8 #94D2D8

Accessibility & contrast

On white

2.81
#40A8B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#40A8B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8B2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8B2#FFFFFF#000000##000000
##40A8B21.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA1B3
Deuteranopia (green-blind)
#8A95B2
Tritanopia (blue-blind)
#00AFAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a8b2;
/* rgb */ color: rgb(64, 168, 178);
/* oklch */ color: oklch(67.6% 0.095 204.1);
Tailwind
colors: {
  custom: {
    50: '#83c2c9',
    500: '#40a8b2',
    950: '#000000',
  },
}
SCSS
$custom: #40a8b2;
$custom-light: #83c2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8b2",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 178
  },
  "hsl": {
    "h": 185.263,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67606,
    "c": 0.09495,
    "h": 204.1
  },
  "luminance": 0.3231
}

Semantic roles & 50–950 ramp

primary
#40A8B2
secondary
#C48F8A
accent
#5D51D7
background
#F8FBFC
surface
#F0F7F8
border
#CBD0D1
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #40A8B2

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

Preview Lab → · Contrast checker → · Palette generator →

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