#40A5CB#40A5CB

#40A5CB is a light, moderate cyan. Relative luminance 0.323; OKLCH L 67.9% C 0.107 H 226.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#40A5CB
RGBrgb(64, 165, 203)
HSLhsl(196, 57%, 52%)
HSVhsv(196, 68%, 80%)
CMYKcmyk(68.5%, 18.7%, 0%, 20.4%)
CIE-LABlab(63.60, -17.09, -27.94)
CIE-LCHlch(63.60, 32.75, 238.55°)
OKLaboklab(67.91% -0.0736 -0.0782)
OKLCHoklch(67.91% 0.107 226.7)
XYZxyz(26.3446, 32.3091, 61.3362)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5CB #CB6640
analogous
#40CBAC #40A5CB #405FCB
triadic
#40A5CB #CB40A5 #A5CB40
tetradic
#40A5CB #AC40CB #CB6640 #5FCB40
square
#40A5CB #AC40CB #CB6640 #5FCB40
split-complementary
#40A5CB #CB405F #CBAC40
monochromatic
#1F5B72 #2C82A2 #40A5CB #70BCD8 #A0D2E5

Accessibility & contrast

On white

2.81
#40A5CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#40A5CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5CB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5CB#FFFFFF#000000##000000
##40A5CB1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A2CD
Deuteranopia (green-blind)
#7D94CB
Tritanopia (blue-blind)
#00B0B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a5cb;
/* rgb */ color: rgb(64, 165, 203);
/* oklch */ color: oklch(67.9% 0.107 226.7);
Tailwind
colors: {
  custom: {
    50: '#85bfdb',
    500: '#40a5cb',
    950: '#000000',
  },
}
SCSS
$custom: #40a5cb;
$custom-light: #85bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5cb",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 203
  },
  "hsl": {
    "h": 196.403,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.67906,
    "c": 0.10738,
    "h": 226.7
  },
  "luminance": 0.32312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A5CB

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

Preview Lab → · Contrast checker → · Palette generator →

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