#40A7CC#40A7CC

#40A7CC is a light, moderate cyan. Relative luminance 0.331; OKLCH L 68.4% C 0.108 H 225.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#40A7CC
RGBrgb(64, 167, 204)
HSLhsl(196, 58%, 53%)
HSVhsv(196, 69%, 80%)
CMYKcmyk(68.6%, 18.1%, 0%, 20%)
CIE-LABlab(64.23, -17.83, -27.52)
CIE-LCHlch(64.23, 32.79, 237.06°)
OKLaboklab(68.42% -0.0752 -0.077)
OKLCHoklch(68.42% 0.108 225.7)
XYZxyz(26.8277, 33.0841, 62.0870)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7CC #CC6540
analogous
#40CCAB #40A7CC #4061CC
triadic
#40A7CC #CC40A7 #A7CC40
tetradic
#40A7CC #AB40CC #CC6540 #61CC40
square
#40A7CC #AB40CC #CC6540 #61CC40
split-complementary
#40A7CC #CC4061 #CCAB40
monochromatic
#1F5D73 #2C84A3 #40A7CC #70BDD9 #A1D4E6

Accessibility & contrast

On white

2.76
#40A7CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#40A7CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7CC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7CC#FFFFFF#000000##000000
##40A7CC1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CE
Deuteranopia (green-blind)
#7F96CC
Tritanopia (blue-blind)
#00B2B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a7cc;
/* rgb */ color: rgb(64, 167, 204);
/* oklch */ color: oklch(68.4% 0.108 225.7);
Tailwind
colors: {
  custom: {
    50: '#85c1db',
    500: '#40a7cc',
    950: '#000000',
  },
}
SCSS
$custom: #40a7cc;
$custom-light: #85c1db;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7cc",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 204
  },
  "hsl": {
    "h": 195.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.68424,
    "c": 0.10766,
    "h": 225.7
  },
  "luminance": 0.33087
}

Semantic roles & 50–950 ramp

primary
#40A7CC
secondary
#D2A695
accent
#7047E1
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A7CC

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

Preview Lab → · Contrast checker → · Palette generator →

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