#40A5BC#40A5BC

#40A5BC is a light, moderate cyan. Relative luminance 0.316; OKLCH L 67.3% C 0.098 H 215.6°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#40A5BC
RGBrgb(64, 165, 188)
HSLhsl(191, 49%, 49%)
HSVhsv(191, 66%, 74%)
CMYKcmyk(66%, 12.2%, 0%, 26.3%)
CIE-LABlab(63.03, -21.84, -20.44)
CIE-LCHlch(63.03, 29.91, 223.10°)
OKLaboklab(67.27% -0.0794 -0.0569)
OKLCHoklch(67.27% 0.098 215.6)
XYZxyz(24.6428, 31.6284, 52.3734)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5BC #BC5740
analogous
#40BC95 #40A5BC #4067BC
triadic
#40A5BC #BC40A5 #A5BC40
tetradic
#40A5BC #9540BC #BC5740 #67BC40
square
#40A5BC #9540BC #BC5740 #67BC40
split-complementary
#40A5BC #BC4067 #BC9540
monochromatic
#215561 #307D8E #40A5BC #6CBBCD #9AD0DD

Accessibility & contrast

On white

2.87
#40A5BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#40A5BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5BC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5BC#FFFFFF#000000##000000
##40A5BC1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A0BD
Deuteranopia (green-blind)
#8393BC
Tritanopia (blue-blind)
#00ADAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a5bc;
/* rgb */ color: rgb(64, 165, 188);
/* oklch */ color: oklch(67.3% 0.098 215.6);
Tailwind
colors: {
  custom: {
    50: '#83c0d0',
    500: '#40a5bc',
    950: '#000000',
  },
}
SCSS
$custom: #40a5bc;
$custom-light: #83c0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5bc",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 188
  },
  "hsl": {
    "h": 191.129,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.67269,
    "c": 0.09764,
    "h": 215.6
  },
  "luminance": 0.31631
}

Semantic roles & 50–950 ramp

primary
#40A5BC
secondary
#C99A8F
accent
#694FD9
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1214
muted
#7D8182

Preview Lab

Preview with #40A5BC

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

Preview Lab → · Contrast checker → · Palette generator →

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