#404392#404392

#404392 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.128 H 277.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#404392
RGBrgb(64, 67, 146)
HSLhsl(238, 39%, 41%)
HSVhsv(238, 56%, 57%)
CMYKcmyk(56.2%, 54.1%, 0%, 42.7%)
CIE-LABlab(32.21, 22.66, -44.19)
CIE-LCHlch(32.21, 49.66, 297.15°)
OKLaboklab(42.46% 0.0174 -0.1264)
OKLCHoklch(42.46% 0.128 277.8)
XYZxyz(9.3082, 7.1790, 28.0838)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404392 #928F40
analogous
#406C92 #404392 #664092
triadic
#404392 #924043 #439240
tetradic
#404392 #92406C #928F40 #409266
square
#404392 #92406C #928F40 #409266
split-complementary
#404392 #926640 #6C9240
monochromatic
#1B1C3D #2D2F67 #404392 #595CB6 #8486C9

Accessibility & contrast

On white

8.62
#404392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#404392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404392
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404392#FFFFFF#000000##FFFFFF
##4043921.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F95
Deuteranopia (green-blind)
#054990
Tritanopia (blue-blind)
#175564
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #404392;
/* rgb */ color: rgb(64, 67, 146);
/* oklch */ color: oklch(42.5% 0.128 277.8);
Tailwind
colors: {
  custom: {
    50: '#7c77b2',
    500: '#404392',
    950: '#000000',
  },
}
SCSS
$custom: #404392;
$custom-light: #7c77b2;
$custom-dark: #000000;
JSON
{
  "hex": "#404392",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 237.805,
    "s": 39.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42455,
    "c": 0.12755,
    "h": 277.8
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#404392
secondary
#B3B17A
accent
#CB59CF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404392

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

Preview Lab → · Contrast checker → · Palette generator →

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