#40A7BC#40A7BC

#40A7BC is a light, moderate cyan. Relative luminance 0.324; OKLCH L 67.8% C 0.098 H 213.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#40A7BC
RGBrgb(64, 167, 188)
HSLhsl(190, 49%, 49%)
HSVhsv(190, 66%, 74%)
CMYKcmyk(66%, 11.2%, 0%, 26.3%)
CIE-LABlab(63.64, -22.87, -19.52)
CIE-LCHlch(63.64, 30.07, 220.48°)
OKLaboklab(67.75% -0.0815 -0.0543)
OKLCHoklch(67.75% 0.098 213.7)
XYZxyz(25.0064, 32.3555, 52.4946)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7BC #BC5540
analogous
#40BC93 #40A7BC #4069BC
triadic
#40A7BC #BC40A7 #A7BC40
tetradic
#40A7BC #9340BC #BC5540 #69BC40
square
#40A7BC #9340BC #BC5540 #69BC40
split-complementary
#40A7BC #BC4069 #BC9340
monochromatic
#215661 #307E8E #40A7BC #6CBDCD #9AD1DD

Accessibility & contrast

On white

2.81
#40A7BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#40A7BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7BC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7BC#FFFFFF#000000##000000
##40A7BC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A2BD
Deuteranopia (green-blind)
#8694BC
Tritanopia (blue-blind)
#00AFAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a7bc;
/* rgb */ color: rgb(64, 167, 188);
/* oklch */ color: oklch(67.8% 0.098 213.7);
Tailwind
colors: {
  custom: {
    50: '#83c1d0',
    500: '#40a7bc',
    950: '#000000',
  },
}
SCSS
$custom: #40a7bc;
$custom-light: #83c1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7bc",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 188
  },
  "hsl": {
    "h": 190.161,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.67752,
    "c": 0.09788,
    "h": 213.7
  },
  "luminance": 0.32358
}

Semantic roles & 50–950 ramp

primary
#40A7BC
secondary
#C9998F
accent
#664FD9
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1214
muted
#7D8182

Preview Lab

Preview with #40A7BC

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

Preview Lab → · Contrast checker → · Palette generator →

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