#404385#404385

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

Color values

HEX#404385
RGBrgb(64, 67, 133)
HSLhsl(237, 35%, 39%)
HSVhsv(237, 52%, 52%)
CMYKcmyk(51.9%, 49.6%, 0%, 47.8%)
CIE-LABlab(31.34, 18.25, -37.59)
CIE-LCHlch(31.34, 41.78, 295.90°)
OKLaboklab(41.52% 0.0162 -0.107)
OKLCHoklch(41.52% 0.108 278.6)
XYZxyz(8.3538, 6.7973, 23.0576)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404385 #858240
analogous
#406585 #404385 #5F4085
triadic
#404385 #854043 #438540
tetradic
#404385 #854065 #858240 #40855F
square
#404385 #854065 #858240 #40855F
split-complementary
#404385 #855F40 #658540
monochromatic
#181932 #2C2E5C #404385 #5559AD #7E81C1

Accessibility & contrast

On white

8.90
#404385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#404385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404385
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404385#FFFFFF#000000##FFFFFF
##4043851.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D87
Deuteranopia (green-blind)
#1F4784
Tritanopia (blue-blind)
#25515D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #404385;
/* rgb */ color: rgb(64, 67, 133);
/* oklch */ color: oklch(41.5% 0.108 278.6);
Tailwind
colors: {
  custom: {
    50: '#7a77a9',
    500: '#404385',
    950: '#000000',
  },
}
SCSS
$custom: #404385;
$custom-light: #7a77a9;
$custom-dark: #000000;
JSON
{
  "hex": "#404385",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 133
  },
  "hsl": {
    "h": 237.391,
    "s": 35.025,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41521,
    "c": 0.10818,
    "h": 278.6
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404385

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

Preview Lab → · Contrast checker → · Palette generator →

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