#40A7BA#40A7BA

#40A7BA is a light, moderate teal. Relative luminance 0.323; OKLCH L 67.7% C 0.097 H 212.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#40A7BA
RGBrgb(64, 167, 186)
HSLhsl(189, 49%, 49%)
HSVhsv(189, 66%, 73%)
CMYKcmyk(65.6%, 10.2%, 0%, 27.1%)
CIE-LABlab(63.57, -23.48, -18.51)
CIE-LCHlch(63.57, 29.90, 218.25°)
OKLaboklab(67.67% -0.0823 -0.0514)
OKLCHoklch(67.67% 0.097 212)
XYZxyz(24.7923, 32.2699, 51.3670)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7BA #BA5340
analogous
#40BA90 #40A7BA #406ABA
triadic
#40A7BA #BA40A7 #A7BA40
tetradic
#40A7BA #9040BA #BA5340 #6ABA40
square
#40A7BA #9040BA #BA5340 #6ABA40
split-complementary
#40A7BA #BA406A #BA9040
monochromatic
#21555F #307E8C #40A7BA #6BBDCC #99D1DC

Accessibility & contrast

On white

2.82
#40A7BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#40A7BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7BA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7BA#FFFFFF#000000##000000
##40A7BA1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A1BB
Deuteranopia (green-blind)
#8694BA
Tritanopia (blue-blind)
#00AFAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a7ba;
/* rgb */ color: rgb(64, 167, 186);
/* oklch */ color: oklch(67.7% 0.097 212.0);
Tailwind
colors: {
  custom: {
    50: '#83c1ce',
    500: '#40a7ba',
    950: '#000000',
  },
}
SCSS
$custom: #40a7ba;
$custom-light: #83c1ce;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7ba",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 186
  },
  "hsl": {
    "h": 189.344,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.67672,
    "c": 0.09703,
    "h": 212
  },
  "luminance": 0.32273
}

Semantic roles & 50–950 ramp

primary
#40A7BA
secondary
#C8978E
accent
#654FD8
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #40A7BA

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

Preview Lab → · Contrast checker → · Palette generator →

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