#40A4C5#40A4C5

#40A4C5 is a light, moderate cyan. Relative luminance 0.317; OKLCH L 67.4% C 0.103 H 223.5°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#40A4C5
RGBrgb(64, 164, 197)
HSLhsl(195, 53%, 51%)
HSVhsv(195, 68%, 77%)
CMYKcmyk(67.5%, 16.8%, 0%, 22.7%)
CIE-LABlab(63.07, -18.48, -25.41)
CIE-LCHlch(63.07, 31.42, 233.97°)
OKLaboklab(67.41% -0.0748 -0.071)
OKLCHoklch(67.41% 0.103 223.5)
XYZxyz(25.4638, 31.6693, 57.5833)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4C5 #C56140
analogous
#40C5A3 #40A4C5 #4061C5
triadic
#40A4C5 #C540A4 #A4C540
tetradic
#40A4C5 #A340C5 #C56140 #61C540
square
#40A4C5 #A340C5 #C56140 #61C540
split-complementary
#40A4C5 #C54061 #C5A340
monochromatic
#20586A #2F7F99 #40A4C5 #6FBAD3 #9ED1E2

Accessibility & contrast

On white

2.86
#40A4C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#40A4C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4C5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4C5#FFFFFF#000000##000000
##40A4C51.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A0C7
Deuteranopia (green-blind)
#7F93C5
Tritanopia (blue-blind)
#00AEAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a4c5;
/* rgb */ color: rgb(64, 164, 197);
/* oklch */ color: oklch(67.4% 0.103 223.5);
Tailwind
colors: {
  custom: {
    50: '#84bfd6',
    500: '#40a4c5',
    950: '#000000',
  },
}
SCSS
$custom: #40a4c5;
$custom-light: #84bfd6;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4c5",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 197
  },
  "hsl": {
    "h": 194.887,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.67406,
    "c": 0.10313,
    "h": 223.5
  },
  "luminance": 0.31672
}

Semantic roles & 50–950 ramp

primary
#40A4C5
secondary
#CEA293
accent
#6F4BDD
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A4C5

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

Preview Lab → · Contrast checker → · Palette generator →

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