#40A7CE#40A7CE

#40A7CE is a light, moderate cyan. Relative luminance 0.332; OKLCH L 68.5% C 0.109 H 227.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#40A7CE
RGBrgb(64, 167, 206)
HSLhsl(196, 59%, 53%)
HSVhsv(196, 69%, 81%)
CMYKcmyk(68.9%, 18.9%, 0%, 19.2%)
CIE-LABlab(64.31, -17.19, -28.51)
CIE-LCHlch(64.31, 33.29, 238.92°)
OKLaboklab(68.51% -0.0745 -0.0798)
OKLCHoklch(68.51% 0.109 227)
XYZxyz(27.0692, 33.1806, 63.3584)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7CE #CE6740
analogous
#40CEAE #40A7CE #4060CE
triadic
#40A7CE #CE40A7 #A7CE40
tetradic
#40A7CE #AE40CE #CE6740 #60CE40
square
#40A7CE #AE40CE #CE6740 #60CE40
split-complementary
#40A7CE #CE4060 #CEAE40
monochromatic
#1E5D75 #2B84A6 #40A7CE #71BDDA #A1D4E7

Accessibility & contrast

On white

2.75
#40A7CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#40A7CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7CE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7CE#FFFFFF#000000##000000
##40A7CE1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4D0
Deuteranopia (green-blind)
#7F96CE
Tritanopia (blue-blind)
#00B2B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a7ce;
/* rgb */ color: rgb(64, 167, 206);
/* oklch */ color: oklch(68.5% 0.109 227.0);
Tailwind
colors: {
  custom: {
    50: '#86c1dd',
    500: '#40a7ce',
    950: '#000000',
  },
}
SCSS
$custom: #40a7ce;
$custom-light: #86c1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7ce",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 206
  },
  "hsl": {
    "h": 196.479,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.68512,
    "c": 0.10919,
    "h": 227
  },
  "luminance": 0.33184
}

Semantic roles & 50–950 ramp

primary
#40A7CE
secondary
#D4A796
accent
#7145E2
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A7CE

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

Preview Lab → · Contrast checker → · Palette generator →

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