#40A4CF#40A4CF

#40A4CF is a light, moderate cyan. Relative luminance 0.321; OKLCH L 67.8% C 0.111 H 230.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#40A4CF
RGBrgb(64, 164, 207)
HSLhsl(198, 60%, 53%)
HSVhsv(198, 69%, 81%)
CMYKcmyk(69.1%, 20.8%, 0%, 18.8%)
CIE-LABlab(63.46, -15.26, -30.37)
CIE-LCHlch(63.46, 33.99, 243.33°)
OKLaboklab(67.85% -0.0711 -0.0852)
OKLCHoklch(67.85% 0.111 230.1)
XYZxyz(26.6478, 32.1429, 63.8192)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4CF #CF6B40
analogous
#40CFB2 #40A4CF #405CCF
triadic
#40A4CF #CF40A4 #A4CF40
tetradic
#40A4CF #B240CF #CF6B40 #5CCF40
square
#40A4CF #B240CF #CF6B40 #5CCF40
split-complementary
#40A4CF #CF405C #CFB240
monochromatic
#1E5C77 #2A82A8 #40A4CF #71BBDB #A2D3E8

Accessibility & contrast

On white

2.83
#40A4CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#40A4CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4CF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4CF#FFFFFF#000000##000000
##40A4CF1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA2D1
Deuteranopia (green-blind)
#7A93CE
Tritanopia (blue-blind)
#00B0B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a4cf;
/* rgb */ color: rgb(64, 164, 207);
/* oklch */ color: oklch(67.8% 0.111 230.1);
Tailwind
colors: {
  custom: {
    50: '#86bfdd',
    500: '#40a4cf',
    950: '#000000',
  },
}
SCSS
$custom: #40a4cf;
$custom-light: #86bfdd;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4cf",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 207
  },
  "hsl": {
    "h": 198.042,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.11097,
    "h": 230.1
  },
  "luminance": 0.32146
}

Semantic roles & 50–950 ramp

primary
#40A4CF
secondary
#D4A997
accent
#7445E3
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A4CF

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

Preview Lab → · Contrast checker → · Palette generator →

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