#408EFF#408EFF

#408EFF is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.6% C 0.185 H 258.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#408EFF
RGBrgb(64, 142, 255)
HSLhsl(215, 100%, 63%)
HSVhsv(215, 75%, 100%)
CMYKcmyk(74.9%, 44.3%, 0%, 0%)
CIE-LABlab(59.57, 14.04, -63.03)
CIE-LCHlch(59.57, 64.58, 282.56°)
OKLaboklab(65.56% -0.0381 -0.1807)
OKLCHoklch(65.56% 0.185 258.1)
XYZxyz(29.8307, 27.6526, 98.3537)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EFF #FFB140
analogous
#40EEFF #408EFF #5140FF
triadic
#408EFF #FF408E #8EFF40
tetradic
#408EFF #FF40EE #FFB140 #40FF51
square
#408EFF #FF40EE #FFB140 #40FF51
split-complementary
#408EFF #FF5140 #EEFF40
monochromatic
#0050C5 #036AFF #408EFF #7DB2FF #BAD6FF

Accessibility & contrast

On white

3.22
#408EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#408EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EFF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EFF#FFFFFF#000000##000000
##408EFF1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#2B87FD
Tritanopia (blue-blind)
#00A9BA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #408eff;
/* rgb */ color: rgb(64, 142, 255);
/* oklch */ color: oklch(65.6% 0.185 258.1);
Tailwind
colors: {
  custom: {
    50: '#8daeff',
    500: '#408eff',
    950: '#000000',
  },
}
SCSS
$custom: #408eff;
$custom-light: #8daeff;
$custom-dark: #000000;
JSON
{
  "hex": "#408eff",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 215.497,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65564,
    "c": 0.18467,
    "h": 258.1
  },
  "luminance": 0.27656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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