#40A4CA#40A4CA

#40A4CA is a light, moderate cyan. Relative luminance 0.319; OKLCH L 67.6% C 0.107 H 226.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#40A4CA
RGBrgb(64, 164, 202)
HSLhsl(197, 57%, 52%)
HSVhsv(197, 68%, 79%)
CMYKcmyk(68.3%, 18.8%, 0%, 20.8%)
CIE-LABlab(63.26, -16.88, -27.90)
CIE-LCHlch(63.26, 32.61, 238.83°)
OKLaboklab(67.63% -0.073 -0.0781)
OKLCHoklch(67.63% 0.107 226.9)
XYZxyz(26.0462, 31.9023, 60.6507)
Luminance0.3191 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4CA #CA6640
analogous
#40CAAB #40A4CA #405FCA
triadic
#40A4CA #CA40A4 #A4CA40
tetradic
#40A4CA #AB40CA #CA6640 #5FCA40
square
#40A4CA #AB40CA #CA6640 #5FCA40
split-complementary
#40A4CA #CA405F #CAAB40
monochromatic
#1F5A70 #2C80A0 #40A4CA #70BBD7 #A0D2E5

Accessibility & contrast

On white

2.85
#40A4CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#40A4CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4CA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4CA#FFFFFF#000000##000000
##40A4CA1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A1CC
Deuteranopia (green-blind)
#7D93CA
Tritanopia (blue-blind)
#00AFB0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a4ca;
/* rgb */ color: rgb(64, 164, 202);
/* oklch */ color: oklch(67.6% 0.107 226.9);
Tailwind
colors: {
  custom: {
    50: '#85bfda',
    500: '#40a4ca',
    950: '#000000',
  },
}
SCSS
$custom: #40a4ca;
$custom-light: #85bfda;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4ca",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 202
  },
  "hsl": {
    "h": 196.522,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.67625,
    "c": 0.10686,
    "h": 226.9
  },
  "luminance": 0.31905
}

Semantic roles & 50–950 ramp

primary
#40A4CA
secondary
#D1A595
accent
#7248E0
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A4CA

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

Preview Lab → · Contrast checker → · Palette generator →

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