#40A5BB#40A5BB

#40A5BB is a light, moderate cyan. Relative luminance 0.316; OKLCH L 67.2% C 0.097 H 214.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#40A5BB
RGBrgb(64, 165, 187)
HSLhsl(191, 49%, 49%)
HSVhsv(191, 66%, 73%)
CMYKcmyk(65.8%, 11.8%, 0%, 26.7%)
CIE-LABlab(63.00, -22.15, -19.93)
CIE-LCHlch(63.00, 29.80, 221.99°)
OKLaboklab(67.23% -0.0798 -0.0554)
OKLCHoklch(67.23% 0.097 214.8)
XYZxyz(24.5354, 31.5854, 51.8076)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5BB #BB5640
analogous
#40BB94 #40A5BB #4068BB
triadic
#40A5BB #BB40A5 #A5BB40
tetradic
#40A5BB #9440BB #BB5640 #68BB40
square
#40A5BB #9440BB #BB5640 #68BB40
split-complementary
#40A5BB #BB4068 #BB9440
monochromatic
#215560 #307D8D #40A5BB #6CBBCD #99D0DC

Accessibility & contrast

On white

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

On black

7.32
#40A5BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5BB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5BB#FFFFFF#000000##000000
##40A5BB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A0BC
Deuteranopia (green-blind)
#8493BB
Tritanopia (blue-blind)
#00ADAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a5bb;
/* rgb */ color: rgb(64, 165, 187);
/* oklch */ color: oklch(67.2% 0.097 214.8);
Tailwind
colors: {
  custom: {
    50: '#83c0cf',
    500: '#40a5bb',
    950: '#000000',
  },
}
SCSS
$custom: #40a5bb;
$custom-light: #83c0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5bb",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 187
  },
  "hsl": {
    "h": 190.732,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.09715,
    "h": 214.8
  },
  "luminance": 0.31588
}

Semantic roles & 50–950 ramp

primary
#40A5BB
secondary
#C8998F
accent
#684FD9
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #40A5BB

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

Preview Lab → · Contrast checker → · Palette generator →

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