#40A8CC#40A8CC

#40A8CC is a light, moderate cyan. Relative luminance 0.335; OKLCH L 68.7% C 0.107 H 224.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#40A8CC
RGBrgb(64, 168, 204)
HSLhsl(195, 58%, 53%)
HSVhsv(195, 69%, 80%)
CMYKcmyk(68.6%, 17.6%, 0%, 20%)
CIE-LABlab(64.53, -18.36, -27.07)
CIE-LCHlch(64.53, 32.71, 235.85°)
OKLaboklab(68.66% -0.0763 -0.0757)
OKLCHoklch(68.66% 0.107 224.8)
XYZxyz(27.0116, 33.4519, 62.1483)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8CC #CC6440
analogous
#40CCAA #40A8CC #4062CC
triadic
#40A8CC #CC40A8 #A8CC40
tetradic
#40A8CC #AA40CC #CC6440 #62CC40
square
#40A8CC #AA40CC #CC6440 #62CC40
split-complementary
#40A8CC #CC4062 #CCAA40
monochromatic
#1F5D73 #2C84A3 #40A8CC #70BED9 #A1D4E6

Accessibility & contrast

On white

2.73
#40A8CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#40A8CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8CC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8CC#FFFFFF#000000##000000
##40A8CC1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CE
Deuteranopia (green-blind)
#8196CC
Tritanopia (blue-blind)
#00B3B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a8cc;
/* rgb */ color: rgb(64, 168, 204);
/* oklch */ color: oklch(68.7% 0.107 224.8);
Tailwind
colors: {
  custom: {
    50: '#85c2db',
    500: '#40a8cc',
    950: '#000000',
  },
}
SCSS
$custom: #40a8cc;
$custom-light: #85c2db;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8cc",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 204
  },
  "hsl": {
    "h": 195.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.68661,
    "c": 0.10744,
    "h": 224.8
  },
  "luminance": 0.33455
}

Semantic roles & 50–950 ramp

primary
#40A8CC
secondary
#D2A595
accent
#6E47E1
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A8CC

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

Preview Lab → · Contrast checker → · Palette generator →

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