#404194#404194

#404194 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.133 H 278.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#404194
RGBrgb(64, 65, 148)
HSLhsl(239, 40%, 42%)
HSVhsv(239, 57%, 58%)
CMYKcmyk(56.8%, 56.1%, 0%, 42%)
CIE-LABlab(31.83, 24.66, -46.03)
CIE-LCHlch(31.83, 52.22, 298.17°)
OKLaboklab(42.21% 0.0197 -0.1318)
OKLCHoklch(42.21% 0.133 278.5)
XYZxyz(9.3483, 7.0081, 28.8713)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404194 #949340
analogous
#406B94 #404194 #694094
triadic
#404194 #944041 #419440
tetradic
#404194 #94406B #949340 #409469
square
#404194 #94406B #949340 #409469
split-complementary
#404194 #946940 #6B9440
monochromatic
#1B1B3F #2E2E69 #404194 #5A5BB8 #8485CA

Accessibility & contrast

On white

8.74
#404194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#404194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404194
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404194#FFFFFF#000000##FFFFFF
##4041941.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094E97
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#155464
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404194;
/* rgb */ color: rgb(64, 65, 148);
/* oklch */ color: oklch(42.2% 0.133 278.5);
Tailwind
colors: {
  custom: {
    50: '#7c75b4',
    500: '#404194',
    950: '#000000',
  },
}
SCSS
$custom: #404194;
$custom-light: #7c75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#404194",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 239.286,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42212,
    "c": 0.13327,
    "h": 278.5
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#404194
secondary
#B4B47B
accent
#CE58D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404194

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

Preview Lab → · Contrast checker → · Palette generator →

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