#40A6C8#40A6C8

#40A6C8 is a light, moderate cyan. Relative luminance 0.325; OKLCH L 68.0% C 0.105 H 223.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#40A6C8
RGBrgb(64, 166, 200)
HSLhsl(195, 55%, 52%)
HSVhsv(195, 68%, 78%)
CMYKcmyk(68%, 17%, 0%, 21.6%)
CIE-LABlab(63.78, -18.58, -25.99)
CIE-LCHlch(63.78, 31.95, 234.44°)
OKLaboklab(68.01% -0.0757 -0.0726)
OKLCHoklch(68.01% 0.105 223.8)
XYZxyz(26.1717, 32.5297, 59.5319)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A6C8 #C86240
analogous
#40C8A6 #40A6C8 #4062C8
triadic
#40A6C8 #C840A6 #A6C840
tetradic
#40A6C8 #A640C8 #C86240 #62C840
square
#40A6C8 #A640C8 #C86240 #62C840
split-complementary
#40A6C8 #C84062 #C8A640
monochromatic
#205A6E #2D819D #40A6C8 #70BCD6 #9FD2E3

Accessibility & contrast

On white

2.80
#40A6C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#40A6C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A6C8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A6C8#FFFFFF#000000##000000
##40A6C81.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A2CA
Deuteranopia (green-blind)
#8094C8
Tritanopia (blue-blind)
#00B0B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a6c8;
/* rgb */ color: rgb(64, 166, 200);
/* oklch */ color: oklch(68.0% 0.105 223.8);
Tailwind
colors: {
  custom: {
    50: '#85c0d8',
    500: '#40a6c8',
    950: '#000000',
  },
}
SCSS
$custom: #40a6c8;
$custom-light: #85c0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#40a6c8",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 200
  },
  "hsl": {
    "h": 195,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.68013,
    "c": 0.10493,
    "h": 223.8
  },
  "luminance": 0.32533
}

Semantic roles & 50–950 ramp

primary
#40A6C8
secondary
#D0A394
accent
#6F49DF
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A6C8

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

Preview Lab → · Contrast checker → · Palette generator →

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