#404190#404190

#404190 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.127 H 278.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#404190
RGBrgb(64, 65, 144)
HSLhsl(239, 38%, 41%)
HSVhsv(239, 56%, 56%)
CMYKcmyk(55.6%, 54.9%, 0%, 43.5%)
CIE-LABlab(31.54, 23.29, -44.04)
CIE-LCHlch(31.54, 49.82, 297.87°)
OKLaboklab(41.91% 0.0196 -0.126)
OKLCHoklch(41.91% 0.127 278.8)
XYZxyz(9.0371, 6.8836, 27.2326)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404190 #908F40
analogous
#406990 #404190 #674090
triadic
#404190 #904041 #419040
tetradic
#404190 #904069 #908F40 #409067
square
#404190 #904069 #908F40 #409067
split-complementary
#404190 #906740 #699040
monochromatic
#1A1B3B #2D2E66 #404190 #5859B5 #8384C8

Accessibility & contrast

On white

8.84
#404190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#404190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404190
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404190#FFFFFF#000000##FFFFFF
##4041901.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D93
Deuteranopia (green-blind)
#02478E
Tritanopia (blue-blind)
#1A5362
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #404190;
/* rgb */ color: rgb(64, 65, 144);
/* oklch */ color: oklch(41.9% 0.127 278.8);
Tailwind
colors: {
  custom: {
    50: '#7c75b1',
    500: '#404190',
    950: '#000000',
  },
}
SCSS
$custom: #404190;
$custom-light: #7c75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#404190",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 239.25,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.12747,
    "h": 278.8
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#404190
secondary
#B2B17A
accent
#CD59CE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404190

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

Preview Lab → · Contrast checker → · Palette generator →

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