#404192#404192

#404192 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.130 H 278.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#404192
RGBrgb(64, 65, 146)
HSLhsl(239, 39%, 41%)
HSVhsv(239, 56%, 57%)
CMYKcmyk(56.2%, 55.5%, 0%, 42.7%)
CIE-LABlab(31.68, 23.97, -45.04)
CIE-LCHlch(31.68, 51.02, 298.03°)
OKLaboklab(42.06% 0.0197 -0.1289)
OKLCHoklch(42.06% 0.13 278.7)
XYZxyz(9.1913, 6.9453, 28.0448)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404192 #929140
analogous
#406A92 #404192 #684092
triadic
#404192 #924041 #419240
tetradic
#404192 #92406A #929140 #409268
square
#404192 #92406A #929140 #409268
split-complementary
#404192 #926840 #6A9240
monochromatic
#1B1B3D #2D2E67 #404192 #595AB6 #8484C9

Accessibility & contrast

On white

8.79
#404192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#404192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404192
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404192#FFFFFF#000000##FFFFFF
##4041921.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4E95
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#185463
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404192;
/* rgb */ color: rgb(64, 65, 146);
/* oklch */ color: oklch(42.1% 0.130 278.7);
Tailwind
colors: {
  custom: {
    50: '#7c75b2',
    500: '#404192',
    950: '#000000',
  },
}
SCSS
$custom: #404192;
$custom-light: #7c75b2;
$custom-dark: #000000;
JSON
{
  "hex": "#404192",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 239.268,
    "s": 39.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.13038,
    "h": 278.7
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#404192
secondary
#B3B37A
accent
#CE59CF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404192

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

Preview Lab → · Contrast checker → · Palette generator →

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