#40A4D3#40A4D3

#40A4D3 is a light, moderate cyan. Relative luminance 0.323; OKLCH L 68.0% C 0.115 H 232.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#40A4D3
RGBrgb(64, 164, 211)
HSLhsl(199, 63%, 54%)
HSVhsv(199, 70%, 83%)
CMYKcmyk(69.7%, 22.3%, 0%, 17.3%)
CIE-LABlab(63.62, -13.94, -32.34)
CIE-LCHlch(63.62, 35.22, 246.68°)
OKLaboklab(68.03% -0.0697 -0.0908)
OKLCHoklch(68.03% 0.115 232.5)
XYZxyz(27.1430, 32.3410, 66.4273)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4D3 #D36F40
analogous
#40D3B9 #40A4D3 #405BD3
triadic
#40A4D3 #D340A4 #A4D340
tetradic
#40A4D3 #B940D3 #D36F40 #5BD340
square
#40A4D3 #B940D3 #D36F40 #5BD340
split-complementary
#40A4D3 #D3405B #D3B940
monochromatic
#1D5E7C #2883AE #40A4D3 #72BCDE #A3D3EA

Accessibility & contrast

On white

2.81
#40A4D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#40A4D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4D3
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4D3#FFFFFF#000000##000000
##40A4D31.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA2D5
Deuteranopia (green-blind)
#7994D2
Tritanopia (blue-blind)
#00B1B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a4d3;
/* rgb */ color: rgb(64, 164, 211);
/* oklch */ color: oklch(68.0% 0.115 232.5);
Tailwind
colors: {
  custom: {
    50: '#86bfe0',
    500: '#40a4d3',
    950: '#000000',
  },
}
SCSS
$custom: #40a4d3;
$custom-light: #86bfe0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4d3",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 211
  },
  "hsl": {
    "h": 199.184,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.68033,
    "c": 0.1145,
    "h": 232.5
  },
  "luminance": 0.32344
}

Semantic roles & 50–950 ramp

primary
#40A4D3
secondary
#D7AC98
accent
#7642E6
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #40A4D3

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

Preview Lab → · Contrast checker → · Palette generator →

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