#408AD2#408AD2

#408AD2 is a mid, vivid cyan. Relative luminance 0.239; OKLCH L 62.0% C 0.132 H 250.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#408AD2
RGBrgb(64, 138, 210)
HSLhsl(210, 62%, 54%)
HSVhsv(210, 70%, 82%)
CMYKcmyk(69.5%, 34.3%, 0%, 17.6%)
CIE-LABlab(56.01, 0.45, -43.71)
CIE-LCHlch(56.01, 43.71, 270.59°)
OKLaboklab(61.99% -0.0445 -0.1241)
OKLCHoklch(61.99% 0.132 250.3)
XYZxyz(22.8313, 23.9176, 64.3736)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AD2 #D28840
analogous
#40D2D1 #408AD2 #4041D2
triadic
#408AD2 #D2408A #8AD240
tetradic
#408AD2 #D140D2 #D28840 #41D240
square
#408AD2 #D140D2 #D28840 #41D240
split-complementary
#408AD2 #D24041 #D2D140
monochromatic
#1D4C7B #296BAC #408AD2 #72A8DE #A3C7E9

Accessibility & contrast

On white

3.63
#408AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#408AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AD2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AD2#FFFFFF#000000##000000
##408AD21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ED5
Deuteranopia (green-blind)
#5580D1
Tritanopia (blue-blind)
#009BA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408ad2;
/* rgb */ color: rgb(64, 138, 210);
/* oklch */ color: oklch(62.0% 0.132 250.3);
Tailwind
colors: {
  custom: {
    50: '#85abe0',
    500: '#408ad2',
    950: '#000000',
  },
}
SCSS
$custom: #408ad2;
$custom-light: #85abe0;
$custom-dark: #000000;
JSON
{
  "hex": "#408ad2",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 210
  },
  "hsl": {
    "h": 209.589,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61992,
    "c": 0.13182,
    "h": 250.3
  },
  "luminance": 0.2392
}

Semantic roles & 50–950 ramp

primary
#408AD2
secondary
#D6B698
accent
#9343E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #408AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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