#40A3D7#40A3D7

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

Color values

HEX#40A3D7
RGBrgb(64, 163, 215)
HSLhsl(201, 65%, 55%)
HSVhsv(201, 70%, 84%)
CMYKcmyk(70.2%, 24.2%, 0%, 15.7%)
CIE-LABlab(63.50, -12.07, -34.76)
CIE-LCHlch(63.50, 36.79, 250.85°)
OKLaboklab(67.99% -0.0674 -0.0978)
OKLCHoklch(67.99% 0.119 235.4)
XYZxyz(27.4725, 32.1876, 69.0418)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A3D7 #D77440
analogous
#40D7BF #40A3D7 #4058D7
triadic
#40A3D7 #D740A3 #A3D740
tetradic
#40A3D7 #BF40D7 #D77440 #58D740
square
#40A3D7 #BF40D7 #D77440 #58D740
split-complementary
#40A3D7 #D74058 #D7BF40
monochromatic
#1B5E81 #2683B4 #40A3D7 #73BBE2 #A5D4EC

Accessibility & contrast

On white

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

On black

7.44
#40A3D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A3D7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A3D7#FFFFFF#000000##000000
##40A3D71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40a3d7;
/* rgb */ color: rgb(64, 163, 215);
/* oklch */ color: oklch(68.0% 0.119 235.4);
Tailwind
colors: {
  custom: {
    50: '#87bee3',
    500: '#40a3d7',
    950: '#000000',
  },
}
SCSS
$custom: #40a3d7;
$custom-light: #87bee3;
$custom-dark: #000000;
JSON
{
  "hex": "#40a3d7",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 215
  },
  "hsl": {
    "h": 200.662,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.67988,
    "c": 0.11876,
    "h": 235.4
  },
  "luminance": 0.32191
}

Semantic roles & 50–950 ramp

primary
#40A3D7
secondary
#D9AF9A
accent
#7A3FE8
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A3D7

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

Preview Lab → · Contrast checker → · Palette generator →

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