#40A1CA#40A1CA

#40A1CA is a light, moderate cyan. Relative luminance 0.308; OKLCH L 66.9% C 0.108 H 229.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#40A1CA
RGBrgb(64, 161, 202)
HSLhsl(198, 57%, 52%)
HSVhsv(198, 68%, 79%)
CMYKcmyk(68.3%, 20.3%, 0%, 20.8%)
CIE-LABlab(62.37, -15.27, -29.27)
CIE-LCHlch(62.37, 33.02, 242.45°)
OKLaboklab(66.92% -0.0699 -0.082)
OKLCHoklch(66.92% 0.108 229.6)
XYZxyz(25.5156, 30.8412, 60.4739)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A1CA #CA6940
analogous
#40CAAE #40A1CA #405CCA
triadic
#40A1CA #CA40A1 #A1CA40
tetradic
#40A1CA #AE40CA #CA6940 #5CCA40
square
#40A1CA #AE40CA #CA6940 #5CCA40
split-complementary
#40A1CA #CA405C #CAAE40
monochromatic
#1F5870 #2C7EA0 #40A1CA #70B9D7 #A0D0E5

Accessibility & contrast

On white

2.93
#40A1CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#40A1CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A1CA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A1CA#FFFFFF#000000##000000
##40A1CA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCC
Deuteranopia (green-blind)
#7991C9
Tritanopia (blue-blind)
#00ACAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a1ca;
/* rgb */ color: rgb(64, 161, 202);
/* oklch */ color: oklch(66.9% 0.108 229.6);
Tailwind
colors: {
  custom: {
    50: '#85bcda',
    500: '#40a1ca',
    950: '#000000',
  },
}
SCSS
$custom: #40a1ca;
$custom-light: #85bcda;
$custom-dark: #000000;
JSON
{
  "hex": "#40a1ca",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 202
  },
  "hsl": {
    "h": 197.826,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.66915,
    "c": 0.10778,
    "h": 229.6
  },
  "luminance": 0.30844
}

Semantic roles & 50–950 ramp

primary
#40A1CA
secondary
#D1A795
accent
#7548E0
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A1CA

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

Preview Lab → · Contrast checker → · Palette generator →

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