#40A2CB#40A2CB

#40A2CB is a light, moderate cyan. Relative luminance 0.312; OKLCH L 67.2% C 0.108 H 229.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#40A2CB
RGBrgb(64, 162, 203)
HSLhsl(198, 57%, 52%)
HSVhsv(198, 68%, 80%)
CMYKcmyk(68.5%, 20.2%, 0%, 20.4%)
CIE-LABlab(62.71, -15.48, -29.31)
CIE-LCHlch(62.71, 33.15, 242.16°)
OKLaboklab(67.2% -0.0706 -0.0821)
OKLCHoklch(67.2% 0.108 229.3)
XYZxyz(25.8099, 31.2396, 61.1579)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2CB #CB6940
analogous
#40CBAF #40A2CB #405CCB
triadic
#40A2CB #CB40A2 #A2CB40
tetradic
#40A2CB #AF40CB #CB6940 #5CCB40
square
#40A2CB #AF40CB #CB6940 #5CCB40
split-complementary
#40A2CB #CB405C #CBAF40
monochromatic
#1F5972 #2C7FA2 #40A2CB #70B9D8 #A0D1E5

Accessibility & contrast

On white

2.90
#40A2CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#40A2CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2CB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2CB#FFFFFF#000000##000000
##40A2CB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CD
Deuteranopia (green-blind)
#7A92CA
Tritanopia (blue-blind)
#00ADB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a2cb;
/* rgb */ color: rgb(64, 162, 203);
/* oklch */ color: oklch(67.2% 0.108 229.3);
Tailwind
colors: {
  custom: {
    50: '#85bddb',
    500: '#40a2cb',
    950: '#000000',
  },
}
SCSS
$custom: #40a2cb;
$custom-light: #85bddb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2cb",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 203
  },
  "hsl": {
    "h": 197.698,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.67197,
    "c": 0.10828,
    "h": 229.3
  },
  "luminance": 0.31242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A2CB

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

Preview Lab → · Contrast checker → · Palette generator →

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