#40A5CA#40A5CA

#40A5CA is a light, moderate cyan. Relative luminance 0.323; OKLCH L 67.9% C 0.107 H 226.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#40A5CA
RGBrgb(64, 165, 202)
HSLhsl(196, 57%, 52%)
HSVhsv(196, 68%, 79%)
CMYKcmyk(68.3%, 18.3%, 0%, 20.8%)
CIE-LABlab(63.56, -17.41, -27.44)
CIE-LCHlch(63.56, 32.50, 237.61°)
OKLaboklab(67.86% -0.074 -0.0768)
OKLCHoklch(67.86% 0.107 226.1)
XYZxyz(26.2259, 32.2616, 60.7106)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5CA #CA6540
analogous
#40CAAA #40A5CA #4060CA
triadic
#40A5CA #CA40A5 #A5CA40
tetradic
#40A5CA #AA40CA #CA6540 #60CA40
square
#40A5CA #AA40CA #CA6540 #60CA40
split-complementary
#40A5CA #CA4060 #CAAA40
monochromatic
#1F5B70 #2C81A0 #40A5CA #70BCD7 #A0D2E5

Accessibility & contrast

On white

2.82
#40A5CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#40A5CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5CA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5CA#FFFFFF#000000##000000
##40A5CA1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A2CC
Deuteranopia (green-blind)
#7E94CA
Tritanopia (blue-blind)
#00B0B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a5ca;
/* rgb */ color: rgb(64, 165, 202);
/* oklch */ color: oklch(67.9% 0.107 226.1);
Tailwind
colors: {
  custom: {
    50: '#85bfda',
    500: '#40a5ca',
    950: '#000000',
  },
}
SCSS
$custom: #40a5ca;
$custom-light: #85bfda;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5ca",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 202
  },
  "hsl": {
    "h": 196.087,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.67862,
    "c": 0.10661,
    "h": 226.1
  },
  "luminance": 0.32265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A5CA

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

Preview Lab → · Contrast checker → · Palette generator →

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