#40A3D8#40A3D8

#40A3D8 is a light, moderate cyan. Relative luminance 0.322; OKLCH L 68.0% C 0.120 H 236.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#40A3D8
RGBrgb(64, 163, 216)
HSLhsl(201, 66%, 55%)
HSVhsv(201, 70%, 85%)
CMYKcmyk(70.4%, 24.5%, 0%, 15.3%)
CIE-LABlab(63.54, -11.74, -35.25)
CIE-LCHlch(63.54, 37.15, 251.58°)
OKLaboklab(68.04% -0.067 -0.0992)
OKLCHoklch(68.04% 0.12 236)
XYZxyz(27.6013, 32.2391, 69.7205)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A3D8 #D87540
analogous
#40D8C1 #40A3D8 #4057D8
triadic
#40A3D8 #D840A3 #A3D840
tetradic
#40A3D8 #C140D8 #D87540 #57D840
square
#40A3D8 #C140D8 #D87540 #57D840
split-complementary
#40A3D8 #D84057 #D8C140
monochromatic
#1B5F83 #2583B6 #40A3D8 #73BBE2 #A6D4ED

Accessibility & contrast

On white

2.82
#40A3D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#40A3D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A3D8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A3D8#FFFFFF#000000##000000
##40A3D81.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA2DA
Deuteranopia (green-blind)
#7593D7
Tritanopia (blue-blind)
#00B1B5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a3d8;
/* rgb */ color: rgb(64, 163, 216);
/* oklch */ color: oklch(68.0% 0.120 236.0);
Tailwind
colors: {
  custom: {
    50: '#87bee4',
    500: '#40a3d8',
    950: '#000000',
  },
}
SCSS
$custom: #40a3d8;
$custom-light: #87bee4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a3d8",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 216
  },
  "hsl": {
    "h": 200.921,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.68036,
    "c": 0.11973,
    "h": 236
  },
  "luminance": 0.32242
}

Semantic roles & 50–950 ramp

primary
#40A3D8
secondary
#DAB09A
accent
#7A3FE9
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #40A3D8

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

Preview Lab → · Contrast checker → · Palette generator →

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