#40A1BC#40A1BC

#40A1BC is a light, moderate cyan. Relative luminance 0.302; OKLCH L 66.3% C 0.098 H 219.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#40A1BC
RGBrgb(64, 161, 188)
HSLhsl(193, 49%, 49%)
HSVhsv(193, 66%, 74%)
CMYKcmyk(66%, 14.4%, 0%, 26.3%)
CIE-LABlab(61.83, -19.75, -22.27)
CIE-LCHlch(61.83, 29.77, 228.43°)
OKLaboklab(66.31% -0.0752 -0.0621)
OKLCHoklch(66.31% 0.098 219.5)
XYZxyz(23.9326, 30.2080, 52.1366)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A1BC #BC5B40
analogous
#40BC99 #40A1BC #4063BC
triadic
#40A1BC #BC40A1 #A1BC40
tetradic
#40A1BC #9940BC #BC5B40 #63BC40
square
#40A1BC #9940BC #BC5B40 #63BC40
split-complementary
#40A1BC #BC4063 #BC9940
monochromatic
#215361 #307A8E #40A1BC #6CB8CD #9ACEDD

Accessibility & contrast

On white

2.98
#40A1BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#40A1BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A1BC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A1BC#FFFFFF#000000##000000
##40A1BC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#909DBD
Deuteranopia (green-blind)
#7F90BC
Tritanopia (blue-blind)
#00AAAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a1bc;
/* rgb */ color: rgb(64, 161, 188);
/* oklch */ color: oklch(66.3% 0.098 219.5);
Tailwind
colors: {
  custom: {
    50: '#83bdd0',
    500: '#40a1bc',
    950: '#000000',
  },
}
SCSS
$custom: #40a1bc;
$custom-light: #83bdd0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a1bc",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 188
  },
  "hsl": {
    "h": 193.065,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.66305,
    "c": 0.0975,
    "h": 219.5
  },
  "luminance": 0.30211
}

Semantic roles & 50–950 ramp

primary
#40A1BC
secondary
#C99C8F
accent
#6D4FD9
background
#F8FBFC
surface
#F0F6F9
border
#CBD0D2
text
#0C1214
muted
#7D8182

Preview Lab

Preview with #40A1BC

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

Preview Lab → · Contrast checker → · Palette generator →

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