#40A7BF#40A7BF

#40A7BF is a light, moderate cyan. Relative luminance 0.325; OKLCH L 67.9% C 0.099 H 216.1°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#40A7BF
RGBrgb(64, 167, 191)
HSLhsl(191, 50%, 50%)
HSVhsv(191, 66%, 75%)
CMYKcmyk(66.5%, 12.6%, 0%, 25.1%)
CIE-LABlab(63.74, -21.94, -21.03)
CIE-LCHlch(63.74, 30.40, 223.79°)
OKLaboklab(67.87% -0.0803 -0.0585)
OKLCHoklch(67.87% 0.099 216.1)
XYZxyz(25.3331, 32.4862, 54.2155)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7BF #BF5840
analogous
#40BF98 #40A7BF #4067BF
triadic
#40A7BF #BF40A7 #A7BF40
tetradic
#40A7BF #9840BF #BF5840 #67BF40
square
#40A7BF #9840BF #BF5840 #67BF40
split-complementary
#40A7BF #BF4067 #BF9840
monochromatic
#215763 #317F91 #40A7BF #6EBCCE #9CD1DE

Accessibility & contrast

On white

2.80
#40A7BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#40A7BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7BF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7BF#FFFFFF#000000##000000
##40A7BF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A2C0
Deuteranopia (green-blind)
#8595BF
Tritanopia (blue-blind)
#00B0AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a7bf;
/* rgb */ color: rgb(64, 167, 191);
/* oklch */ color: oklch(67.9% 0.099 216.1);
Tailwind
colors: {
  custom: {
    50: '#84c1d2',
    500: '#40a7bf',
    950: '#000000',
  },
}
SCSS
$custom: #40a7bf;
$custom-light: #84c1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7bf",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 191
  },
  "hsl": {
    "h": 191.339,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.67873,
    "c": 0.09934,
    "h": 216.1
  },
  "luminance": 0.32489
}

Semantic roles & 50–950 ramp

primary
#40A7BF
secondary
#CA9C91
accent
#694ED9
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1214
muted
#7D8182

Preview Lab

Preview with #40A7BF

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

Preview Lab → · Contrast checker → · Palette generator →

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