#404189#404189

#404189 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.4% C 0.117 H 279.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#404189
RGBrgb(64, 65, 137)
HSLhsl(239, 36%, 39%)
HSVhsv(239, 53%, 54%)
CMYKcmyk(53.3%, 52.6%, 0%, 46.3%)
CIE-LABlab(31.06, 20.92, -40.51)
CIE-LCHlch(31.06, 45.60, 297.31°)
OKLaboklab(41.39% 0.0191 -0.1156)
OKLCHoklch(41.39% 0.117 279.4)
XYZxyz(8.5186, 6.6762, 24.5018)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404189 #898840
analogous
#406689 #404189 #644089
triadic
#404189 #894041 #418940
tetradic
#404189 #894066 #898840 #408964
square
#404189 #894066 #898840 #408964
split-complementary
#404189 #896440 #668940
monochromatic
#191936 #2D2D5F #404189 #5657B0 #8081C4

Accessibility & contrast

On white

8.99
#404189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#404189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404189
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404189#FFFFFF#000000##FFFFFF
##4041891.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#154687
Tritanopia (blue-blind)
#21515E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404189;
/* rgb */ color: rgb(64, 65, 137);
/* oklch */ color: oklch(41.4% 0.117 279.4);
Tailwind
colors: {
  custom: {
    50: '#7b75ac',
    500: '#404189',
    950: '#000000',
  },
}
SCSS
$custom: #404189;
$custom-light: #7b75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#404189",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 239.178,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41392,
    "c": 0.11714,
    "h": 279.4
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#404189
secondary
#AEAD77
accent
#CB5BCC
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #404189

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

Preview Lab → · Contrast checker → · Palette generator →

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