#40A4C8#40A4C8

#40A4C8 is a light, moderate cyan. Relative luminance 0.318; OKLCH L 67.5% C 0.105 H 225.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#40A4C8
RGBrgb(64, 164, 200)
HSLhsl(196, 55%, 52%)
HSVhsv(196, 68%, 78%)
CMYKcmyk(68%, 18%, 0%, 21.6%)
CIE-LABlab(63.18, -17.52, -26.91)
CIE-LCHlch(63.18, 32.11, 236.92°)
OKLaboklab(67.54% -0.0737 -0.0752)
OKLCHoklch(67.54% 0.105 225.6)
XYZxyz(25.8109, 31.8082, 59.4117)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4C8 #C86440
analogous
#40C8A8 #40A4C8 #4060C8
triadic
#40A4C8 #C840A4 #A4C840
tetradic
#40A4C8 #A840C8 #C86440 #60C840
square
#40A4C8 #A840C8 #C86440 #60C840
split-complementary
#40A4C8 #C84060 #C8A840
monochromatic
#20596E #2D809D #40A4C8 #70BBD6 #9FD1E3

Accessibility & contrast

On white

2.85
#40A4C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#40A4C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4C8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4C8#FFFFFF#000000##000000
##40A4C81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A1CA
Deuteranopia (green-blind)
#7D93C8
Tritanopia (blue-blind)
#00AFB0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a4c8;
/* rgb */ color: rgb(64, 164, 200);
/* oklch */ color: oklch(67.5% 0.105 225.6);
Tailwind
colors: {
  custom: {
    50: '#85bfd8',
    500: '#40a4c8',
    950: '#000000',
  },
}
SCSS
$custom: #40a4c8;
$custom-light: #85bfd8;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4c8",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 200
  },
  "hsl": {
    "h": 195.882,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.67537,
    "c": 0.10532,
    "h": 225.6
  },
  "luminance": 0.31811
}

Semantic roles & 50–950 ramp

primary
#40A4C8
secondary
#D0A494
accent
#7149DF
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A4C8

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

Preview Lab → · Contrast checker → · Palette generator →

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