#40A7D5#40A7D5

#40A7D5 is a light, moderate cyan. Relative luminance 0.335; OKLCH L 68.8% C 0.115 H 231.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#40A7D5
RGBrgb(64, 167, 213)
HSLhsl(199, 64%, 54%)
HSVhsv(199, 70%, 84%)
CMYKcmyk(70%, 21.6%, 0%, 16.5%)
CIE-LABlab(64.59, -14.91, -31.96)
CIE-LCHlch(64.59, 35.26, 244.99°)
OKLaboklab(68.83% -0.072 -0.0897)
OKLCHoklch(68.83% 0.115 231.3)
XYZxyz(27.9385, 33.5284, 67.9371)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7D5 #D56E40
analogous
#40D5B8 #40A7D5 #405DD5
triadic
#40A7D5 #D540A7 #A7D540
tetradic
#40A7D5 #B840D5 #D56E40 #5DD540
square
#40A7D5 #B840D5 #D56E40 #5DD540
split-complementary
#40A7D5 #D5405D #D5B840
monochromatic
#1C607F #2786B1 #40A7D5 #72BEE0 #A4D5EB

Accessibility & contrast

On white

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

On black

7.71
#40A7D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7D5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7D5#FFFFFF#000000##000000
##40A7D51.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A5D7
Deuteranopia (green-blind)
#7B96D4
Tritanopia (blue-blind)
#00B4B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40a7d5;
/* rgb */ color: rgb(64, 167, 213);
/* oklch */ color: oklch(68.8% 0.115 231.3);
Tailwind
colors: {
  custom: {
    50: '#87c1e2',
    500: '#40a7d5',
    950: '#000000',
  },
}
SCSS
$custom: #40a7d5;
$custom-light: #87c1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7d5",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 213
  },
  "hsl": {
    "h": 198.523,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.68828,
    "c": 0.11502,
    "h": 231.3
  },
  "luminance": 0.33532
}

Semantic roles & 50–950 ramp

primary
#40A7D5
secondary
#D8AC99
accent
#7441E7
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A7D5

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

Preview Lab → · Contrast checker → · Palette generator →

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