#40A7CD#40A7CD

#40A7CD is a light, moderate cyan. Relative luminance 0.331; OKLCH L 68.5% C 0.108 H 226.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#40A7CD
RGBrgb(64, 167, 205)
HSLhsl(196, 59%, 53%)
HSVhsv(196, 69%, 80%)
CMYKcmyk(68.8%, 18.5%, 0%, 19.6%)
CIE-LABlab(64.27, -17.51, -28.02)
CIE-LCHlch(64.27, 33.04, 238.00°)
OKLaboklab(68.47% -0.0749 -0.0784)
OKLCHoklch(68.47% 0.108 226.3)
XYZxyz(26.9481, 33.1322, 62.7207)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7CD #CD6640
analogous
#40CDAC #40A7CD #4061CD
triadic
#40A7CD #CD40A7 #A7CD40
tetradic
#40A7CD #AC40CD #CD6640 #61CD40
square
#40A7CD #AC40CD #CD6640 #61CD40
split-complementary
#40A7CD #CD4061 #CDAC40
monochromatic
#1E5D74 #2B84A5 #40A7CD #71BDDA #A1D4E6

Accessibility & contrast

On white

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

On black

7.63
#40A7CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7CD
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7CD#FFFFFF#000000##000000
##40A7CD1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4CF
Deuteranopia (green-blind)
#7F96CD
Tritanopia (blue-blind)
#00B2B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a7cd;
/* rgb */ color: rgb(64, 167, 205);
/* oklch */ color: oklch(68.5% 0.108 226.3);
Tailwind
colors: {
  custom: {
    50: '#86c1dc',
    500: '#40a7cd',
    950: '#000000',
  },
}
SCSS
$custom: #40a7cd;
$custom-light: #86c1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7cd",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 205
  },
  "hsl": {
    "h": 196.17,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.68468,
    "c": 0.10841,
    "h": 226.3
  },
  "luminance": 0.33135
}

Semantic roles & 50–950 ramp

primary
#40A7CD
secondary
#D3A696
accent
#7046E2
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A7CD

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

Preview Lab → · Contrast checker → · Palette generator →

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