#404DFF#404DFF

#404DFF is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.7% C 0.257 H 270.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#404DFF
RGBrgb(64, 77, 255)
HSLhsl(236, 100%, 63%)
HSVhsv(236, 75%, 100%)
CMYKcmyk(74.9%, 69.8%, 0%, 0%)
CIE-LABlab(43.68, 53.50, -88.90)
CIE-LCHlch(43.68, 103.76, 301.04°)
OKLaboklab(53.66% 0.0038 -0.2574)
OKLCHoklch(53.66% 0.257 270.8)
XYZxyz(22.8121, 13.6153, 96.0141)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DFF #FFF240
analogous
#40ADFF #404DFF #9240FF
triadic
#404DFF #FF404D #4DFF40
tetradic
#404DFF #FF40AD #FFF240 #40FF92
square
#404DFF #FF40AD #FFF240 #40FF92
split-complementary
#404DFF #FF9240 #ADFF40
monochromatic
#000DC5 #0314FF #404DFF #7D86FF #BABFFF

Accessibility & contrast

On white

5.64
#404DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#404DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404DFF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DFF#FFFFFF#000000##FFFFFF
##404DFF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#005EFC
Tritanopia (blue-blind)
#007FA1
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #404dff;
/* rgb */ color: rgb(64, 77, 255);
/* oklch */ color: oklch(53.7% 0.257 270.8);
Tailwind
colors: {
  custom: {
    50: '#9180ff',
    500: '#404dff',
    950: '#000000',
  },
}
SCSS
$custom: #404dff;
$custom-light: #9180ff;
$custom-dark: #000000;
JSON
{
  "hex": "#404dff",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 235.916,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5366,
    "c": 0.25739,
    "h": 270.8
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#404DFF
secondary
#F0EBAB
accent
#D600E6
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #404DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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