#40A8CA#40A8CA

#40A8CA is a light, moderate cyan. Relative luminance 0.334; OKLCH L 68.6% C 0.106 H 223.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#40A8CA
RGBrgb(64, 168, 202)
HSLhsl(195, 57%, 52%)
HSVhsv(195, 68%, 79%)
CMYKcmyk(68.3%, 16.8%, 0%, 20.8%)
CIE-LABlab(64.45, -19.00, -26.07)
CIE-LCHlch(64.45, 32.26, 233.92°)
OKLaboklab(68.58% -0.077 -0.0728)
OKLCHoklch(68.58% 0.106 223.4)
XYZxyz(26.7733, 33.3565, 60.8931)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8CA #CA6240
analogous
#40CAA7 #40A8CA #4063CA
triadic
#40A8CA #CA40A8 #A8CA40
tetradic
#40A8CA #A740CA #CA6240 #63CA40
square
#40A8CA #A740CA #CA6240 #63CA40
split-complementary
#40A8CA #CA4063 #CAA740
monochromatic
#1F5C70 #2C84A0 #40A8CA #70BED7 #A0D4E5

Accessibility & contrast

On white

2.74
#40A8CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#40A8CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8CA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8CA#FFFFFF#000000##000000
##40A8CA1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A4CC
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#00B2B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a8ca;
/* rgb */ color: rgb(64, 168, 202);
/* oklch */ color: oklch(68.6% 0.106 223.4);
Tailwind
colors: {
  custom: {
    50: '#85c2da',
    500: '#40a8ca',
    950: '#000000',
  },
}
SCSS
$custom: #40a8ca;
$custom-light: #85c2da;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8ca",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 202
  },
  "hsl": {
    "h": 194.783,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.68575,
    "c": 0.10601,
    "h": 223.4
  },
  "luminance": 0.3336
}

Semantic roles & 50–950 ramp

primary
#40A8CA
secondary
#D1A495
accent
#6D48E0
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A8CA

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

Preview Lab → · Contrast checker → · Palette generator →

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