#404584#404584

#404584 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.9% C 0.104 H 277.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#404584
RGBrgb(64, 69, 132)
HSLhsl(236, 35%, 38%)
HSVhsv(236, 52%, 52%)
CMYKcmyk(51.5%, 47.7%, 0%, 48.2%)
CIE-LABlab(31.83, 16.59, -36.18)
CIE-LCHlch(31.83, 39.80, 294.63°)
OKLaboklab(41.87% 0.0135 -0.1028)
OKLCHoklch(41.87% 0.104 277.5)
XYZxyz(8.4060, 7.0117, 22.7358)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404584 #847F40
analogous
#406784 #404584 #5D4084
triadic
#404584 #844045 #458440
tetradic
#404584 #844067 #847F40 #40845D
square
#404584 #844067 #847F40 #40845D
split-complementary
#404584 #845D40 #678440
monochromatic
#181A32 #2C2F5B #404584 #555BAC #7E83C0

Accessibility & contrast

On white

8.74
#404584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#404584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404584
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404584#FFFFFF#000000##FFFFFF
##4045841.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E86
Deuteranopia (green-blind)
#244883
Tritanopia (blue-blind)
#25525E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404584;
/* rgb */ color: rgb(64, 69, 132);
/* oklch */ color: oklch(41.9% 0.104 277.5);
Tailwind
colors: {
  custom: {
    50: '#7a78a8',
    500: '#404584',
    950: '#000000',
  },
}
SCSS
$custom: #404584;
$custom-light: #7a78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#404584",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 235.588,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41873,
    "c": 0.10371,
    "h": 277.5
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#404584
secondary
#ABA775
accent
#C35DCB
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #404584

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

Preview Lab → · Contrast checker → · Palette generator →

#404584 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva