#40A1C8#40A1C8

#40A1C8 is a light, moderate cyan. Relative luminance 0.307; OKLCH L 66.8% C 0.106 H 228.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#40A1C8
RGBrgb(64, 161, 200)
HSLhsl(197, 55%, 52%)
HSVhsv(197, 68%, 78%)
CMYKcmyk(68%, 19.5%, 0%, 21.6%)
CIE-LABlab(62.29, -15.92, -28.28)
CIE-LCHlch(62.29, 32.45, 240.62°)
OKLaboklab(66.83% -0.0706 -0.0792)
OKLCHoklch(66.83% 0.106 228.3)
XYZxyz(25.2804, 30.7471, 59.2348)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A1C8 #C86740
analogous
#40C8AB #40A1C8 #405DC8
triadic
#40A1C8 #C840A1 #A1C840
tetradic
#40A1C8 #AB40C8 #C86740 #5DC840
square
#40A1C8 #AB40C8 #C86740 #5DC840
split-complementary
#40A1C8 #C8405D #C8AB40
monochromatic
#20576E #2D7D9D #40A1C8 #70B8D6 #9FD0E3

Accessibility & contrast

On white

2.94
#40A1C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#40A1C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A1C8
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A1C8#FFFFFF#000000##000000
##40A1C81.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9ECA
Deuteranopia (green-blind)
#7A91C7
Tritanopia (blue-blind)
#00ACAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a1c8;
/* rgb */ color: rgb(64, 161, 200);
/* oklch */ color: oklch(66.8% 0.106 228.3);
Tailwind
colors: {
  custom: {
    50: '#84bcd8',
    500: '#40a1c8',
    950: '#000000',
  },
}
SCSS
$custom: #40a1c8;
$custom-light: #84bcd8;
$custom-dark: #000000;
JSON
{
  "hex": "#40a1c8",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 200
  },
  "hsl": {
    "h": 197.206,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.66825,
    "c": 0.10612,
    "h": 228.3
  },
  "luminance": 0.3075
}

Semantic roles & 50–950 ramp

primary
#40A1C8
secondary
#D0A594
accent
#7449DF
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A1C8

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

Preview Lab → · Contrast checker → · Palette generator →

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