#40A8CE#40A8CE

#40A8CE is a light, moderate cyan. Relative luminance 0.336; OKLCH L 68.7% C 0.109 H 226.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#40A8CE
RGBrgb(64, 168, 206)
HSLhsl(196, 59%, 53%)
HSVhsv(196, 69%, 81%)
CMYKcmyk(68.9%, 18.4%, 0%, 19.2%)
CIE-LABlab(64.60, -17.72, -28.06)
CIE-LCHlch(64.60, 33.18, 237.73°)
OKLaboklab(68.75% -0.0755 -0.0785)
OKLCHoklch(68.75% 0.109 226.1)
XYZxyz(27.2531, 33.5484, 63.4197)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8CE #CE6640
analogous
#40CEAD #40A8CE #4061CE
triadic
#40A8CE #CE40A8 #A8CE40
tetradic
#40A8CE #AD40CE #CE6640 #61CE40
square
#40A8CE #AD40CE #CE6640 #61CE40
split-complementary
#40A8CE #CE4061 #CEAD40
monochromatic
#1E5E75 #2B85A6 #40A8CE #71BEDA #A1D4E7

Accessibility & contrast

On white

2.72
#40A8CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#40A8CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8CE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8CE#FFFFFF#000000##000000
##40A8CE1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A5D0
Deuteranopia (green-blind)
#8096CE
Tritanopia (blue-blind)
#00B3B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40a8ce;
/* rgb */ color: rgb(64, 168, 206);
/* oklch */ color: oklch(68.7% 0.109 226.1);
Tailwind
colors: {
  custom: {
    50: '#86c2dd',
    500: '#40a8ce',
    950: '#000000',
  },
}
SCSS
$custom: #40a8ce;
$custom-light: #86c2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8ce",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 206
  },
  "hsl": {
    "h": 196.056,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.68749,
    "c": 0.10894,
    "h": 226.1
  },
  "luminance": 0.33551
}

Semantic roles & 50–950 ramp

primary
#40A8CE
secondary
#D4A796
accent
#6F45E2
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A8CE

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

Preview Lab → · Contrast checker → · Palette generator →

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