#40A7C2#40A7C2

#40A7C2 is a light, moderate cyan. Relative luminance 0.326; OKLCH L 68.0% C 0.101 H 218.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#40A7C2
RGBrgb(64, 167, 194)
HSLhsl(192, 52%, 51%)
HSVhsv(192, 67%, 76%)
CMYKcmyk(67%, 13.9%, 0%, 23.9%)
CIE-LABlab(63.85, -21.01, -22.54)
CIE-LCHlch(63.85, 30.81, 227.02°)
OKLaboklab(68% -0.0791 -0.0628)
OKLCHoklch(68% 0.101 218.5)
XYZxyz(25.6667, 32.6196, 55.9720)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7C2 #C25B40
analogous
#40C29C #40A7C2 #4066C2
triadic
#40A7C2 #C240A7 #A7C240
tetradic
#40A7C2 #9C40C2 #C25B40 #66C240
square
#40A7C2 #9C40C2 #C25B40 #66C240
split-complementary
#40A7C2 #C24066 #C29C40
monochromatic
#215867 #308095 #40A7C2 #6EBCD1 #9DD2E0

Accessibility & contrast

On white

2.79
#40A7C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#40A7C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7C2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7C2#FFFFFF#000000##000000
##40A7C21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A2C3
Deuteranopia (green-blind)
#8395C2
Tritanopia (blue-blind)
#00B0AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a7c2;
/* rgb */ color: rgb(64, 167, 194);
/* oklch */ color: oklch(68.0% 0.101 218.5);
Tailwind
colors: {
  custom: {
    50: '#84c1d4',
    500: '#40a7c2',
    950: '#000000',
  },
}
SCSS
$custom: #40a7c2;
$custom-light: #84c1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7c2",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 194
  },
  "hsl": {
    "h": 192.462,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.67997,
    "c": 0.10097,
    "h": 218.5
  },
  "luminance": 0.32622
}

Semantic roles & 50–950 ramp

primary
#40A7C2
secondary
#CC9E92
accent
#6A4DDB
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A7C2

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

Preview Lab → · Contrast checker → · Palette generator →

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