#40A0B2#40A0B2

#40A0B2 is a light, moderate teal. Relative luminance 0.294; OKLCH L 65.7% C 0.092 H 212.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#40A0B2
RGBrgb(64, 160, 178)
HSLhsl(189, 47%, 47%)
HSVhsv(189, 64%, 70%)
CMYKcmyk(64%, 10.1%, 0%, 30.2%)
CIE-LABlab(61.17, -22.34, -17.66)
CIE-LCHlch(61.17, 28.48, 218.34°)
OKLaboklab(65.65% -0.0782 -0.049)
OKLCHoklch(65.65% 0.092 212.1)
XYZxyz(22.7177, 29.4435, 46.5968)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A0B2 #B25240
analogous
#40B28B #40A0B2 #4067B2
triadic
#40A0B2 #B240A0 #A0B240
tetradic
#40A0B2 #8B40B2 #B25240 #67B240
square
#40A0B2 #8B40B2 #B25240 #67B240
split-complementary
#40A0B2 #B24067 #B28B40
monochromatic
#204F58 #307885 #40A0B2 #67B9C8 #94CED8

Accessibility & contrast

On white

3.05
#40A0B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#40A0B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A0B2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A0B2#FFFFFF#000000##000000
##40A0B21.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#929BB3
Deuteranopia (green-blind)
#818EB2
Tritanopia (blue-blind)
#00A7A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #40a0b2;
/* rgb */ color: rgb(64, 160, 178);
/* oklch */ color: oklch(65.7% 0.092 212.1);
Tailwind
colors: {
  custom: {
    50: '#82bcc9',
    500: '#40a0b2',
    950: '#000000',
  },
}
SCSS
$custom: #40a0b2;
$custom-light: #82bcc9;
$custom-dark: #000000;
JSON
{
  "hex": "#40a0b2",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 178
  },
  "hsl": {
    "h": 189.474,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.65653,
    "c": 0.09227,
    "h": 212.1
  },
  "luminance": 0.29446
}

Semantic roles & 50–950 ramp

primary
#40A0B2
secondary
#C4938A
accent
#6651D7
background
#F8FBFC
surface
#F0F6F8
border
#CBD0D1
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #40A0B2

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

Preview Lab → · Contrast checker → · Palette generator →

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