#408CFF#408CFF

#408CFF is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.1% C 0.187 H 258.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#408CFF
RGBrgb(64, 140, 255)
HSLhsl(216, 100%, 63%)
HSVhsv(216, 75%, 100%)
CMYKcmyk(74.9%, 45.1%, 0%, 0%)
CIE-LABlab(59.03, 15.25, -63.90)
CIE-LCHlch(59.03, 65.70, 283.42°)
OKLaboklab(65.15% -0.0365 -0.1833)
OKLCHoklch(65.15% 0.187 258.7)
XYZxyz(29.5358, 27.0628, 98.2554)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CFF #FFB340
analogous
#40EBFF #408CFF #5440FF
triadic
#408CFF #FF408C #8CFF40
tetradic
#408CFF #FF40EB #FFB340 #40FF54
square
#408CFF #FF40EB #FFB340 #40FF54
split-complementary
#408CFF #FF5440 #EBFF40
monochromatic
#004EC5 #0367FF #408CFF #7DB1FF #BAD6FF

Accessibility & contrast

On white

3.27
#408CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#408CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CFF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CFF#FFFFFF#000000##000000
##408CFF1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#2386FD
Tritanopia (blue-blind)
#00A7B9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #408cff;
/* rgb */ color: rgb(64, 140, 255);
/* oklch */ color: oklch(65.1% 0.187 258.7);
Tailwind
colors: {
  custom: {
    50: '#8dacff',
    500: '#408cff',
    950: '#000000',
  },
}
SCSS
$custom: #408cff;
$custom-light: #8dacff;
$custom-dark: #000000;
JSON
{
  "hex": "#408cff",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 255
  },
  "hsl": {
    "h": 216.126,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65146,
    "c": 0.18689,
    "h": 258.7
  },
  "luminance": 0.27066
}

Semantic roles & 50–950 ramp

primary
#408CFF
secondary
#F0D4AB
accent
#8A00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1018
muted
#7E7F86

Preview Lab

Preview with #408CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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