#40A7CF#40A7CF

#40A7CF is a light, moderate cyan. Relative luminance 0.332; OKLCH L 68.6% C 0.110 H 227.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#40A7CF
RGBrgb(64, 167, 207)
HSLhsl(197, 60%, 53%)
HSVhsv(197, 69%, 81%)
CMYKcmyk(69.1%, 19.3%, 0%, 18.8%)
CIE-LABlab(64.35, -16.86, -29.01)
CIE-LCHlch(64.35, 33.55, 239.83°)
OKLaboklab(68.56% -0.0741 -0.0812)
OKLCHoklch(68.56% 0.11 227.6)
XYZxyz(27.1910, 33.2294, 64.0003)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7CF #CF6840
analogous
#40CFAF #40A7CF #405FCF
triadic
#40A7CF #CF40A7 #A7CF40
tetradic
#40A7CF #AF40CF #CF6840 #5FCF40
square
#40A7CF #AF40CF #CF6840 #5FCF40
split-complementary
#40A7CF #CF405F #CFAF40
monochromatic
#1E5E77 #2A85A8 #40A7CF #71BEDB #A2D4E8

Accessibility & contrast

On white

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

On black

7.65
#40A7CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7CF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7CF#FFFFFF#000000##000000
##40A7CF1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40a7cf;
/* rgb */ color: rgb(64, 167, 207);
/* oklch */ color: oklch(68.6% 0.110 227.6);
Tailwind
colors: {
  custom: {
    50: '#86c1dd',
    500: '#40a7cf',
    950: '#000000',
  },
}
SCSS
$custom: #40a7cf;
$custom-light: #86c1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7cf",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 207
  },
  "hsl": {
    "h": 196.783,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68557,
    "c": 0.10998,
    "h": 227.6
  },
  "luminance": 0.33232
}

Semantic roles & 50–950 ramp

primary
#40A7CF
secondary
#D4A897
accent
#7145E3
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A7CF

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

Preview Lab → · Contrast checker → · Palette generator →

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