#404390#404390

#404390 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.125 H 278.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#404390
RGBrgb(64, 67, 144)
HSLhsl(238, 38%, 41%)
HSVhsv(238, 56%, 56%)
CMYKcmyk(55.6%, 53.5%, 0%, 43.5%)
CIE-LABlab(32.07, 21.98, -43.19)
CIE-LCHlch(32.07, 48.46, 296.97°)
OKLaboklab(42.31% 0.0173 -0.1234)
OKLCHoklch(42.31% 0.125 278)
XYZxyz(9.1540, 7.1173, 27.2716)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404390 #908D40
analogous
#406B90 #404390 #654090
triadic
#404390 #904043 #439040
tetradic
#404390 #90406B #908D40 #409065
square
#404390 #90406B #908D40 #409065
split-complementary
#404390 #906540 #6B9040
monochromatic
#1A1C3B #2D2F66 #404390 #585CB5 #8385C8

Accessibility & contrast

On white

8.66
#404390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#404390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404390
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404390#FFFFFF#000000##FFFFFF
##4043901.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194F93
Deuteranopia (green-blind)
#0C488E
Tritanopia (blue-blind)
#1A5463
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404390;
/* rgb */ color: rgb(64, 67, 144);
/* oklch */ color: oklch(42.3% 0.125 278.0);
Tailwind
colors: {
  custom: {
    50: '#7c77b1',
    500: '#404390',
    950: '#000000',
  },
}
SCSS
$custom: #404390;
$custom-light: #7c77b1;
$custom-dark: #000000;
JSON
{
  "hex": "#404390",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 144
  },
  "hsl": {
    "h": 237.75,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42307,
    "c": 0.12462,
    "h": 278
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#404390
secondary
#B2B07A
accent
#CA59CE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404390

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

Preview Lab → · Contrast checker → · Palette generator →

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