#40A7C8#40A7C8

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

Color values

HEX#40A7C8
RGBrgb(64, 167, 200)
HSLhsl(195, 55%, 52%)
HSVhsv(195, 68%, 78%)
CMYKcmyk(68%, 16.5%, 0%, 21.6%)
CIE-LABlab(64.08, -19.11, -25.54)
CIE-LCHlch(64.08, 31.89, 233.19°)
OKLaboklab(68.25% -0.0767 -0.0713)
OKLCHoklch(68.25% 0.105 222.9)
XYZxyz(26.3542, 32.8946, 59.5928)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7C8 #C86140
analogous
#40C8A5 #40A7C8 #4063C8
triadic
#40A7C8 #C840A7 #A7C840
tetradic
#40A7C8 #A540C8 #C86140 #63C840
square
#40A7C8 #A540C8 #C86140 #63C840
split-complementary
#40A7C8 #C84063 #C8A540
monochromatic
#205B6E #2D829D #40A7C8 #70BDD6 #9FD3E3

Accessibility & contrast

On white

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

On black

7.58
#40A7C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7C8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7C8#FFFFFF#000000##000000
##40A7C81.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A3CA
Deuteranopia (green-blind)
#8195C8
Tritanopia (blue-blind)
#00B1B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a7c8;
/* rgb */ color: rgb(64, 167, 200);
/* oklch */ color: oklch(68.3% 0.105 222.9);
Tailwind
colors: {
  custom: {
    50: '#85c1d8',
    500: '#40a7c8',
    950: '#000000',
  },
}
SCSS
$custom: #40a7c8;
$custom-light: #85c1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7c8",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 200
  },
  "hsl": {
    "h": 194.559,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.68251,
    "c": 0.10477,
    "h": 222.9
  },
  "luminance": 0.32898
}

Semantic roles & 50–950 ramp

primary
#40A7C8
secondary
#D0A394
accent
#6D49DF
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A7C8

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

Preview Lab → · Contrast checker → · Palette generator →

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