#40A1CB#40A1CB

#40A1CB is a light, moderate cyan. Relative luminance 0.309; OKLCH L 67.0% C 0.109 H 230.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#40A1CB
RGBrgb(64, 161, 203)
HSLhsl(198, 57%, 52%)
HSVhsv(198, 68%, 80%)
CMYKcmyk(68.5%, 20.7%, 0%, 20.4%)
CIE-LABlab(62.41, -14.94, -29.77)
CIE-LCHlch(62.41, 33.31, 243.34°)
OKLaboklab(66.96% -0.0696 -0.0834)
OKLCHoklch(66.96% 0.109 230.2)
XYZxyz(25.6344, 30.8887, 61.0995)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A1CB #CB6A40
analogous
#40CBAF #40A1CB #405CCB
triadic
#40A1CB #CB40A1 #A1CB40
tetradic
#40A1CB #AF40CB #CB6A40 #5CCB40
square
#40A1CB #AF40CB #CB6A40 #5CCB40
split-complementary
#40A1CB #CB405C #CBAF40
monochromatic
#1F5972 #2C7EA2 #40A1CB #70B9D8 #A0D0E5

Accessibility & contrast

On white

2.93
#40A1CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#40A1CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A1CB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A1CB#FFFFFF#000000##000000
##40A1CB1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCD
Deuteranopia (green-blind)
#7891CA
Tritanopia (blue-blind)
#00ADAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a1cb;
/* rgb */ color: rgb(64, 161, 203);
/* oklch */ color: oklch(67.0% 0.109 230.2);
Tailwind
colors: {
  custom: {
    50: '#85bcdb',
    500: '#40a1cb',
    950: '#000000',
  },
}
SCSS
$custom: #40a1cb;
$custom-light: #85bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a1cb",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 203
  },
  "hsl": {
    "h": 198.129,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.66961,
    "c": 0.10864,
    "h": 230.2
  },
  "luminance": 0.30892
}

Semantic roles & 50–950 ramp

primary
#40A1CB
secondary
#D2A795
accent
#7647E0
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A1CB

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

Preview Lab → · Contrast checker → · Palette generator →

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