#40A6CF#40A6CF

#40A6CF is a light, moderate cyan. Relative luminance 0.329; OKLCH L 68.3% C 0.110 H 228.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#40A6CF
RGBrgb(64, 166, 207)
HSLhsl(197, 60%, 53%)
HSVhsv(197, 69%, 81%)
CMYKcmyk(69.1%, 19.8%, 0%, 18.8%)
CIE-LABlab(64.05, -16.33, -29.46)
CIE-LCHlch(64.05, 33.68, 241.00°)
OKLaboklab(68.32% -0.0731 -0.0825)
OKLCHoklch(68.32% 0.11 228.5)
XYZxyz(27.0085, 32.8644, 63.9394)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A6CF #CF6940
analogous
#40CFB1 #40A6CF #405ECF
triadic
#40A6CF #CF40A6 #A6CF40
tetradic
#40A6CF #B140CF #CF6940 #5ECF40
square
#40A6CF #B140CF #CF6940 #5ECF40
split-complementary
#40A6CF #CF405E #CFB140
monochromatic
#1E5D77 #2A84A8 #40A6CF #71BDDB #A2D4E8

Accessibility & contrast

On white

2.77
#40A6CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#40A6CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A6CF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A6CF#FFFFFF#000000##000000
##40A6CF1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3D1
Deuteranopia (green-blind)
#7D95CE
Tritanopia (blue-blind)
#00B2B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a6cf;
/* rgb */ color: rgb(64, 166, 207);
/* oklch */ color: oklch(68.3% 0.110 228.5);
Tailwind
colors: {
  custom: {
    50: '#86c0dd',
    500: '#40a6cf',
    950: '#000000',
  },
}
SCSS
$custom: #40a6cf;
$custom-light: #86c0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#40a6cf",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 207
  },
  "hsl": {
    "h": 197.203,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68321,
    "c": 0.11028,
    "h": 228.5
  },
  "luminance": 0.32867
}

Semantic roles & 50–950 ramp

primary
#40A6CF
secondary
#D4A897
accent
#7245E3
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A6CF

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

Preview Lab → · Contrast checker → · Palette generator →

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