#408AFF#408AFF

#408AFF is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.7% C 0.189 H 259.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#408AFF
RGBrgb(64, 138, 255)
HSLhsl(217, 100%, 63%)
HSVhsv(217, 75%, 100%)
CMYKcmyk(74.9%, 45.9%, 0%, 0%)
CIE-LABlab(58.49, 16.47, -64.77)
CIE-LCHlch(58.49, 66.83, 284.26°)
OKLaboklab(64.73% -0.035 -0.1859)
OKLCHoklch(64.73% 0.189 259.3)
XYZxyz(29.2463, 26.4836, 98.1588)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AFF #FFB540
analogous
#40E9FF #408AFF #5640FF
triadic
#408AFF #FF408A #8AFF40
tetradic
#408AFF #FF40E9 #FFB540 #40FF56
square
#408AFF #FF40E9 #FFB540 #40FF56
split-complementary
#408AFF #FF5640 #E9FF40
monochromatic
#004CC5 #0365FF #408AFF #7DAFFF #BAD5FF

Accessibility & contrast

On white

3.33
#408AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#408AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AFF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AFF#FFFFFF#000000##000000
##408AFF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#1985FD
Tritanopia (blue-blind)
#00A6B8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #408aff;
/* rgb */ color: rgb(64, 138, 255);
/* oklch */ color: oklch(64.7% 0.189 259.3);
Tailwind
colors: {
  custom: {
    50: '#8dabff',
    500: '#408aff',
    950: '#000000',
  },
}
SCSS
$custom: #408aff;
$custom-light: #8dabff;
$custom-dark: #000000;
JSON
{
  "hex": "#408aff",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 216.754,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64731,
    "c": 0.18912,
    "h": 259.3
  },
  "luminance": 0.26487
}

Semantic roles & 50–950 ramp

primary
#408AFF
secondary
#F0D5AB
accent
#8D00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1018
muted
#7E7F86

Preview Lab

Preview with #408AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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