#408DFF#408DFF

#408DFF is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.4% C 0.186 H 258.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#408DFF
RGBrgb(64, 141, 255)
HSLhsl(216, 100%, 63%)
HSVhsv(216, 75%, 100%)
CMYKcmyk(74.9%, 44.7%, 0%, 0%)
CIE-LABlab(59.30, 14.65, -63.47)
CIE-LCHlch(59.30, 65.14, 283.00°)
OKLaboklab(65.35% -0.0373 -0.182)
OKLCHoklch(65.35% 0.186 258.4)
XYZxyz(29.6826, 27.3563, 98.3043)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DFF #FFB240
analogous
#40ECFF #408DFF #5340FF
triadic
#408DFF #FF408D #8DFF40
tetradic
#408DFF #FF40EC #FFB240 #40FF53
square
#408DFF #FF40EC #FFB240 #40FF53
split-complementary
#408DFF #FF5340 #ECFF40
monochromatic
#004FC5 #0368FF #408DFF #7DB2FF #BAD6FF

Accessibility & contrast

On white

3.24
#408DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#408DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DFF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DFF#FFFFFF#000000##000000
##408DFF1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#2787FD
Tritanopia (blue-blind)
#00A8BA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #408dff;
/* rgb */ color: rgb(64, 141, 255);
/* oklch */ color: oklch(65.4% 0.186 258.4);
Tailwind
colors: {
  custom: {
    50: '#8dadff',
    500: '#408dff',
    950: '#000000',
  },
}
SCSS
$custom: #408dff;
$custom-light: #8dadff;
$custom-dark: #000000;
JSON
{
  "hex": "#408dff",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 215.812,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65355,
    "c": 0.18577,
    "h": 258.4
  },
  "luminance": 0.2736
}

Semantic roles & 50–950 ramp

primary
#408DFF
secondary
#F0D4AB
accent
#8900E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1018
muted
#7E7F86

Preview Lab

Preview with #408DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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