#40A4CB#40A4CB

#40A4CB is a light, moderate cyan. Relative luminance 0.320; OKLCH L 67.7% C 0.108 H 227.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#40A4CB
RGBrgb(64, 164, 203)
HSLhsl(197, 57%, 52%)
HSVhsv(197, 68%, 80%)
CMYKcmyk(68.5%, 19.2%, 0%, 20.4%)
CIE-LABlab(63.30, -16.56, -28.40)
CIE-LCHlch(63.30, 32.87, 239.76°)
OKLaboklab(67.67% -0.0726 -0.0795)
OKLCHoklch(67.67% 0.108 227.6)
XYZxyz(26.1650, 31.9498, 61.2763)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4CB #CB6740
analogous
#40CBAD #40A4CB #405ECB
triadic
#40A4CB #CB40A4 #A4CB40
tetradic
#40A4CB #AD40CB #CB6740 #5ECB40
square
#40A4CB #AD40CB #CB6740 #5ECB40
split-complementary
#40A4CB #CB405E #CBAD40
monochromatic
#1F5A72 #2C81A2 #40A4CB #70BBD8 #A0D2E5

Accessibility & contrast

On white

2.84
#40A4CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#40A4CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4CB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4CB#FFFFFF#000000##000000
##40A4CB1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA1CD
Deuteranopia (green-blind)
#7C93CB
Tritanopia (blue-blind)
#00AFB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a4cb;
/* rgb */ color: rgb(64, 164, 203);
/* oklch */ color: oklch(67.7% 0.108 227.6);
Tailwind
colors: {
  custom: {
    50: '#85bfdb',
    500: '#40a4cb',
    950: '#000000',
  },
}
SCSS
$custom: #40a4cb;
$custom-light: #85bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4cb",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 203
  },
  "hsl": {
    "h": 196.835,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6767,
    "c": 0.10765,
    "h": 227.6
  },
  "luminance": 0.31953
}

Semantic roles & 50–950 ramp

primary
#40A4CB
secondary
#D2A695
accent
#7247E0
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A4CB

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

Preview Lab → · Contrast checker → · Palette generator →

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