#40A4CC#40A4CC

#40A4CC is a light, moderate cyan. Relative luminance 0.320; OKLCH L 67.7% C 0.108 H 228.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#40A4CC
RGBrgb(64, 164, 204)
HSLhsl(197, 58%, 53%)
HSVhsv(197, 69%, 80%)
CMYKcmyk(68.6%, 19.6%, 0%, 20%)
CIE-LABlab(63.34, -16.23, -28.89)
CIE-LCHlch(63.34, 33.14, 240.67°)
OKLaboklab(67.71% -0.0722 -0.0809)
OKLCHoklch(67.71% 0.108 228.3)
XYZxyz(26.2845, 31.9976, 61.9059)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4CC #CC6840
analogous
#40CCAE #40A4CC #405ECC
triadic
#40A4CC #CC40A4 #A4CC40
tetradic
#40A4CC #AE40CC #CC6840 #5ECC40
square
#40A4CC #AE40CC #CC6840 #5ECC40
split-complementary
#40A4CC #CC405E #CCAE40
monochromatic
#1F5B73 #2C81A3 #40A4CC #70BBD9 #A1D2E6

Accessibility & contrast

On white

2.84
#40A4CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#40A4CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4CC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4CC#FFFFFF#000000##000000
##40A4CC1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA1CE
Deuteranopia (green-blind)
#7C93CB
Tritanopia (blue-blind)
#00AFB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a4cc;
/* rgb */ color: rgb(64, 164, 204);
/* oklch */ color: oklch(67.7% 0.108 228.3);
Tailwind
colors: {
  custom: {
    50: '#85bfdb',
    500: '#40a4cc',
    950: '#000000',
  },
}
SCSS
$custom: #40a4cc;
$custom-light: #85bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4cc",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 204
  },
  "hsl": {
    "h": 197.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.67714,
    "c": 0.10846,
    "h": 228.3
  },
  "luminance": 0.32001
}

Semantic roles & 50–950 ramp

primary
#40A4CC
secondary
#D2A795
accent
#7347E1
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A4CC

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

Preview Lab → · Contrast checker → · Palette generator →

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