#40A2D7#40A2D7

#40A2D7 is a light, moderate cyan. Relative luminance 0.318; OKLCH L 67.8% C 0.119 H 236.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#40A2D7
RGBrgb(64, 162, 215)
HSLhsl(201, 65%, 55%)
HSVhsv(201, 70%, 84%)
CMYKcmyk(70.2%, 24.7%, 0%, 15.7%)
CIE-LABlab(63.21, -11.52, -35.21)
CIE-LCHlch(63.21, 37.05, 251.88°)
OKLaboklab(67.76% -0.0664 -0.0991)
OKLCHoklch(67.76% 0.119 236.2)
XYZxyz(27.2956, 31.8339, 68.9828)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2D7 #D77540
analogous
#40D7C1 #40A2D7 #4056D7
triadic
#40A2D7 #D740A2 #A2D740
tetradic
#40A2D7 #C140D7 #D77540 #56D740
square
#40A2D7 #C140D7 #D77540 #56D740
split-complementary
#40A2D7 #D74056 #D7C140
monochromatic
#1B5E81 #2682B4 #40A2D7 #73BBE2 #A5D3EC

Accessibility & contrast

On white

2.85
#40A2D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#40A2D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2D7
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2D7#FFFFFF#000000##000000
##40A2D71.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A1D9
Deuteranopia (green-blind)
#7492D6
Tritanopia (blue-blind)
#00B0B4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a2d7;
/* rgb */ color: rgb(64, 162, 215);
/* oklch */ color: oklch(67.8% 0.119 236.2);
Tailwind
colors: {
  custom: {
    50: '#87bde3',
    500: '#40a2d7',
    950: '#000000',
  },
}
SCSS
$custom: #40a2d7;
$custom-light: #87bde3;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2d7",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 215
  },
  "hsl": {
    "h": 201.06,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.67756,
    "c": 0.1193,
    "h": 236.2
  },
  "luminance": 0.31837
}

Semantic roles & 50–950 ramp

primary
#40A2D7
secondary
#D9B09A
accent
#7B3FE8
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A2D7

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

Preview Lab → · Contrast checker → · Palette generator →

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