#404384#404384

#404384 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.5% C 0.107 H 278.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#404384
RGBrgb(64, 67, 132)
HSLhsl(237, 35%, 38%)
HSVhsv(237, 52%, 52%)
CMYKcmyk(51.5%, 49.2%, 0%, 48.2%)
CIE-LABlab(31.28, 17.92, -37.07)
CIE-LCHlch(31.28, 41.17, 295.79°)
OKLaboklab(41.45% 0.0161 -0.1054)
OKLCHoklch(41.45% 0.107 278.7)
XYZxyz(8.2851, 6.7698, 22.6955)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404384 #848140
analogous
#406584 #404384 #5F4084
triadic
#404384 #844043 #438440
tetradic
#404384 #844065 #848140 #40845F
square
#404384 #844065 #848140 #40845F
split-complementary
#404384 #845F40 #658440
monochromatic
#181932 #2C2E5B #404384 #5559AC #7E81C0

Accessibility & contrast

On white

8.92
#404384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#404384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404384
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404384#FFFFFF#000000##FFFFFF
##4043841.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#204783
Tritanopia (blue-blind)
#25515D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #404384;
/* rgb */ color: rgb(64, 67, 132);
/* oklch */ color: oklch(41.5% 0.107 278.7);
Tailwind
colors: {
  custom: {
    50: '#7a77a8',
    500: '#404384',
    950: '#000000',
  },
}
SCSS
$custom: #404384;
$custom-light: #7a77a8;
$custom-dark: #000000;
JSON
{
  "hex": "#404384",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 237.353,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41452,
    "c": 0.10666,
    "h": 278.7
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#404384
secondary
#ABA975
accent
#C65DCB
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #404384

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

Preview Lab → · Contrast checker → · Palette generator →

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