#40A1CC#40A1CC

#40A1CC is a light, moderate cyan. Relative luminance 0.309; OKLCH L 67.0% C 0.110 H 230.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#40A1CC
RGBrgb(64, 161, 204)
HSLhsl(198, 58%, 53%)
HSVhsv(198, 69%, 80%)
CMYKcmyk(68.6%, 21.1%, 0%, 20%)
CIE-LABlab(62.45, -14.62, -30.26)
CIE-LCHlch(62.45, 33.61, 244.22°)
OKLaboklab(67.01% -0.0692 -0.0849)
OKLCHoklch(67.01% 0.11 230.8)
XYZxyz(25.7540, 30.9365, 61.7291)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A1CC #CC6B40
analogous
#40CCB1 #40A1CC #405BCC
triadic
#40A1CC #CC40A1 #A1CC40
tetradic
#40A1CC #B140CC #CC6B40 #5BCC40
square
#40A1CC #B140CC #CC6B40 #5BCC40
split-complementary
#40A1CC #CC405B #CCB140
monochromatic
#1F5973 #2C7EA3 #40A1CC #70B9D9 #A1D1E6

Accessibility & contrast

On white

2.92
#40A1CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#40A1CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A1CC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A1CC#FFFFFF#000000##000000
##40A1CC1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCE
Deuteranopia (green-blind)
#7891CB
Tritanopia (blue-blind)
#00ADAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a1cc;
/* rgb */ color: rgb(64, 161, 204);
/* oklch */ color: oklch(67.0% 0.110 230.8);
Tailwind
colors: {
  custom: {
    50: '#85bcdb',
    500: '#40a1cc',
    950: '#000000',
  },
}
SCSS
$custom: #40a1cc;
$custom-light: #85bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a1cc",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 204
  },
  "hsl": {
    "h": 198.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.67006,
    "c": 0.10951,
    "h": 230.8
  },
  "luminance": 0.30939
}

Semantic roles & 50–950 ramp

primary
#40A1CC
secondary
#D2A895
accent
#7647E1
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A1CC

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

Preview Lab → · Contrast checker → · Palette generator →

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