#404684#404684

#404684 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 42.1% C 0.102 H 276.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#404684
RGBrgb(64, 70, 132)
HSLhsl(235, 35%, 38%)
HSVhsv(235, 52%, 52%)
CMYKcmyk(51.5%, 47%, 0%, 48.2%)
CIE-LABlab(32.11, 15.93, -35.73)
CIE-LCHlch(32.11, 39.12, 294.02°)
OKLaboklab(42.09% 0.0123 -0.1015)
OKLCHoklch(42.09% 0.102 276.9)
XYZxyz(8.4681, 7.1358, 22.7564)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404684 #847E40
analogous
#406884 #404684 #5C4084
triadic
#404684 #844046 #468440
tetradic
#404684 #844068 #847E40 #40845C
square
#404684 #844068 #847E40 #40845C
split-complementary
#404684 #845C40 #688440
monochromatic
#181A32 #2C305B #404684 #555CAC #7E84C0

Accessibility & contrast

On white

8.65
#404684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#404684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404684
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404684#FFFFFF#000000##FFFFFF
##4046841.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E86
Deuteranopia (green-blind)
#264983
Tritanopia (blue-blind)
#25535E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #404684;
/* rgb */ color: rgb(64, 70, 132);
/* oklch */ color: oklch(42.1% 0.102 276.9);
Tailwind
colors: {
  custom: {
    50: '#7a79a8',
    500: '#404684',
    950: '#000000',
  },
}
SCSS
$custom: #404684;
$custom-light: #7a79a8;
$custom-dark: #000000;
JSON
{
  "hex": "#404684",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 234.706,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42086,
    "c": 0.10224,
    "h": 276.9
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#404684
secondary
#ABA675
accent
#C15DCB
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #404684

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

Preview Lab → · Contrast checker → · Palette generator →

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