#40A5C2#40A5C2

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

Color values

HEX#40A5C2
RGBrgb(64, 165, 194)
HSLhsl(193, 52%, 51%)
HSVhsv(193, 67%, 76%)
CMYKcmyk(67%, 14.9%, 0%, 23.9%)
CIE-LABlab(63.25, -19.96, -23.45)
CIE-LCHlch(63.25, 30.80, 229.60°)
OKLaboklab(67.52% -0.077 -0.0654)
OKLCHoklch(67.52% 0.101 220.3)
XYZxyz(25.3031, 31.8925, 55.8508)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5C2 #C25D40
analogous
#40C29E #40A5C2 #4064C2
triadic
#40A5C2 #C240A5 #A5C240
tetradic
#40A5C2 #9E40C2 #C25D40 #64C240
square
#40A5C2 #9E40C2 #C25D40 #64C240
split-complementary
#40A5C2 #C24064 #C29E40
monochromatic
#215767 #307F95 #40A5C2 #6EBBD1 #9DD1E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A5C2#FFFFFF#000000##000000
##40A5C21.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)
#93A1C4
Deuteranopia (green-blind)
#8193C2
Tritanopia (blue-blind)
#00AEAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a5c2;
/* rgb */ color: rgb(64, 165, 194);
/* oklch */ color: oklch(67.5% 0.101 220.3);
Tailwind
colors: {
  custom: {
    50: '#84bfd4',
    500: '#40a5c2',
    950: '#000000',
  },
}
SCSS
$custom: #40a5c2;
$custom-light: #84bfd4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5c2",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 194
  },
  "hsl": {
    "h": 193.385,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.67518,
    "c": 0.10103,
    "h": 220.3
  },
  "luminance": 0.31895
}

Semantic roles & 50–950 ramp

primary
#40A5C2
secondary
#CC9F92
accent
#6C4DDB
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A5C2

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

Preview Lab → · Contrast checker → · Palette generator →

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