#408CD4#408CD4

#408CD4 is a light, vivid cyan. Relative luminance 0.246; OKLCH L 62.6% C 0.132 H 249.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#408CD4
RGBrgb(64, 140, 212)
HSLhsl(209, 63%, 54%)
HSVhsv(209, 70%, 83%)
CMYKcmyk(69.8%, 34%, 0%, 16.9%)
CIE-LABlab(56.68, -0.03, -43.77)
CIE-LCHlch(56.68, 43.77, 269.96°)
OKLaboklab(62.55% -0.0459 -0.1242)
OKLCHoklch(62.55% 0.132 249.7)
XYZxyz(23.3716, 24.5971, 65.7906)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CD4 #D48840
analogous
#40D4D2 #408CD4 #4042D4
triadic
#408CD4 #D4408C #8CD440
tetradic
#408CD4 #D240D4 #D48840 #42D440
square
#408CD4 #D240D4 #D48840 #42D440
split-complementary
#408CD4 #D44042 #D4D240
monochromatic
#1C4E7D #276DAF #408CD4 #72AADF #A4C8EA

Accessibility & contrast

On white

3.55
#408CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#408CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CD4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CD4#FFFFFF#000000##000000
##408CD41.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C90D7
Deuteranopia (green-blind)
#5782D3
Tritanopia (blue-blind)
#009DA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #408cd4;
/* rgb */ color: rgb(64, 140, 212);
/* oklch */ color: oklch(62.6% 0.132 249.7);
Tailwind
colors: {
  custom: {
    50: '#85ade1',
    500: '#408cd4',
    950: '#000000',
  },
}
SCSS
$custom: #408cd4;
$custom-light: #85ade1;
$custom-dark: #000000;
JSON
{
  "hex": "#408cd4",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 209.189,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62554,
    "c": 0.13242,
    "h": 249.7
  },
  "luminance": 0.246
}

Semantic roles & 50–950 ramp

primary
#408CD4
secondary
#D7B798
accent
#9242E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #408CD4

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

Preview Lab → · Contrast checker → · Palette generator →

#408CD4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva