#40A2BB#40A2BB

#40A2BB is a light, moderate cyan. Relative luminance 0.305; OKLCH L 66.5% C 0.097 H 217.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#40A2BB
RGBrgb(64, 162, 187)
HSLhsl(192, 49%, 49%)
HSVhsv(192, 66%, 73%)
CMYKcmyk(65.8%, 13.4%, 0%, 26.7%)
CIE-LABlab(62.10, -20.59, -21.31)
CIE-LCHlch(62.10, 29.63, 225.98°)
OKLaboklab(66.5% -0.0766 -0.0593)
OKLCHoklch(66.5% 0.097 217.7)
XYZxyz(24.0006, 30.5159, 51.6294)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2BB #BB5940
analogous
#40BB97 #40A2BB #4065BB
triadic
#40A2BB #BB40A2 #A2BB40
tetradic
#40A2BB #9740BB #BB5940 #65BB40
square
#40A2BB #9740BB #BB5940 #65BB40
split-complementary
#40A2BB #BB4065 #BB9740
monochromatic
#215360 #307B8D #40A2BB #6CB9CD #99CFDC

Accessibility & contrast

On white

2.96
#40A2BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#40A2BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2BB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2BB#FFFFFF#000000##000000
##40A2BB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#929DBC
Deuteranopia (green-blind)
#8090BB
Tritanopia (blue-blind)
#00ABAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a2bb;
/* rgb */ color: rgb(64, 162, 187);
/* oklch */ color: oklch(66.5% 0.097 217.7);
Tailwind
colors: {
  custom: {
    50: '#83bdcf',
    500: '#40a2bb',
    950: '#000000',
  },
}
SCSS
$custom: #40a2bb;
$custom-light: #83bdcf;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2bb",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 187
  },
  "hsl": {
    "h": 192.195,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.66504,
    "c": 0.09692,
    "h": 217.7
  },
  "luminance": 0.30519
}

Semantic roles & 50–950 ramp

primary
#40A2BB
secondary
#C89A8F
accent
#6B4FD9
background
#F8FBFC
surface
#F0F6F9
border
#CBD0D2
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #40A2BB

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

Preview Lab → · Contrast checker → · Palette generator →

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