#40A2CF#40A2CF

#40A2CF is a light, moderate cyan. Relative luminance 0.314; OKLCH L 67.4% C 0.112 H 231.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#40A2CF
RGBrgb(64, 162, 207)
HSLhsl(199, 60%, 53%)
HSVhsv(199, 69%, 81%)
CMYKcmyk(69.1%, 21.7%, 0%, 18.8%)
CIE-LABlab(62.87, -14.17, -31.29)
CIE-LCHlch(62.87, 34.35, 245.63°)
OKLaboklab(67.38% -0.0691 -0.0878)
OKLCHoklch(67.38% 0.112 231.8)
XYZxyz(26.2927, 31.4327, 63.7008)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2CF #CF6D40
analogous
#40CFB4 #40A2CF #405ACF
triadic
#40A2CF #CF40A2 #A2CF40
tetradic
#40A2CF #B440CF #CF6D40 #5ACF40
square
#40A2CF #B440CF #CF6D40 #5ACF40
split-complementary
#40A2CF #CF405A #CFB440
monochromatic
#1E5B77 #2A80A8 #40A2CF #71BADB #A2D2E8

Accessibility & contrast

On white

2.88
#40A2CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#40A2CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2CF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2CF#FFFFFF#000000##000000
##40A2CF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0D1
Deuteranopia (green-blind)
#7892CE
Tritanopia (blue-blind)
#00AEB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a2cf;
/* rgb */ color: rgb(64, 162, 207);
/* oklch */ color: oklch(67.4% 0.112 231.8);
Tailwind
colors: {
  custom: {
    50: '#85bddd',
    500: '#40a2cf',
    950: '#000000',
  },
}
SCSS
$custom: #40a2cf;
$custom-light: #85bddd;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2cf",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 207
  },
  "hsl": {
    "h": 198.881,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.67379,
    "c": 0.11176,
    "h": 231.8
  },
  "luminance": 0.31436
}

Semantic roles & 50–950 ramp

primary
#40A2CF
secondary
#D4AA97
accent
#7745E3
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A2CF

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

Preview Lab → · Contrast checker → · Palette generator →

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