#40A5B2#40A5B2

#40A5B2 is a light, moderate teal. Relative luminance 0.312; OKLCH L 66.9% C 0.094 H 207.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#40A5B2
RGBrgb(64, 165, 178)
HSLhsl(187, 47%, 47%)
HSVhsv(187, 64%, 70%)
CMYKcmyk(64%, 7.3%, 0%, 30.2%)
CIE-LABlab(62.69, -24.89, -15.37)
CIE-LCHlch(62.69, 29.25, 211.69°)
OKLaboklab(66.87% -0.0835 -0.0426)
OKLCHoklch(66.87% 0.094 207)
XYZxyz(23.6020, 31.2121, 46.8915)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5B2 #B24D40
analogous
#40B286 #40A5B2 #406CB2
triadic
#40A5B2 #B240A5 #A5B240
tetradic
#40A5B2 #8640B2 #B24D40 #6CB240
square
#40A5B2 #8640B2 #B24D40 #6CB240
split-complementary
#40A5B2 #B2406C #B28640
monochromatic
#205258 #307B85 #40A5B2 #67BDC8 #94D1D8

Accessibility & contrast

On white

2.90
#40A5B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#40A5B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5B2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5B2#FFFFFF#000000##000000
##40A5B21.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#989FB3
Deuteranopia (green-blind)
#8792B2
Tritanopia (blue-blind)
#00ACA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a5b2;
/* rgb */ color: rgb(64, 165, 178);
/* oklch */ color: oklch(66.9% 0.094 207.0);
Tailwind
colors: {
  custom: {
    50: '#82c0c9',
    500: '#40a5b2',
    950: '#000000',
  },
}
SCSS
$custom: #40a5b2;
$custom-light: #82c0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5b2",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 178
  },
  "hsl": {
    "h": 186.842,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.66873,
    "c": 0.09373,
    "h": 207
  },
  "luminance": 0.31215
}

Semantic roles & 50–950 ramp

primary
#40A5B2
secondary
#C4908A
accent
#6051D7
background
#F8FBFC
surface
#F0F7F8
border
#CBD0D1
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #40A5B2

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

Preview Lab → · Contrast checker → · Palette generator →

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