#408AD4#408AD4

#408AD4 is a light, vivid cyan. Relative luminance 0.240; OKLCH L 62.1% C 0.134 H 250.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#408AD4
RGBrgb(64, 138, 212)
HSLhsl(210, 63%, 54%)
HSVhsv(210, 70%, 83%)
CMYKcmyk(69.8%, 34.9%, 0%, 16.9%)
CIE-LABlab(56.11, 1.15, -44.68)
CIE-LCHlch(56.11, 44.69, 271.47°)
OKLaboklab(62.1% -0.044 -0.1269)
OKLCHoklch(62.1% 0.134 250.9)
XYZxyz(23.0821, 24.0179, 65.6940)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AD4 #D48A40
analogous
#40D4D4 #408AD4 #4040D4
triadic
#408AD4 #D4408A #8AD440
tetradic
#408AD4 #D440D4 #D48A40 #40D440
square
#408AD4 #D440D4 #D48A40 #40D440
split-complementary
#408AD4 #D44040 #D4D440
monochromatic
#1C4D7D #276BAF #408AD4 #72A9DF #A4C7EA

Accessibility & contrast

On white

3.62
#408AD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#408AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AD4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AD4#FFFFFF#000000##000000
##408AD41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ED7
Deuteranopia (green-blind)
#5380D3
Tritanopia (blue-blind)
#009BA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408ad4;
/* rgb */ color: rgb(64, 138, 212);
/* oklch */ color: oklch(62.1% 0.134 250.9);
Tailwind
colors: {
  custom: {
    50: '#85abe1',
    500: '#408ad4',
    950: '#000000',
  },
}
SCSS
$custom: #408ad4;
$custom-light: #85abe1;
$custom-dark: #000000;
JSON
{
  "hex": "#408ad4",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 212
  },
  "hsl": {
    "h": 210,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62103,
    "c": 0.1343,
    "h": 250.9
  },
  "luminance": 0.2402
}

Semantic roles & 50–950 ramp

primary
#408AD4
secondary
#D7B898
accent
#9442E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #408AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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