#404594#404594

#404594 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.128 H 276.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#404594
RGBrgb(64, 69, 148)
HSLhsl(236, 40%, 42%)
HSVhsv(236, 57%, 58%)
CMYKcmyk(56.8%, 53.4%, 0%, 42%)
CIE-LABlab(32.88, 22.03, -44.32)
CIE-LCHlch(32.88, 49.50, 296.43°)
OKLaboklab(43% 0.0153 -0.1267)
OKLCHoklch(43% 0.128 276.9)
XYZxyz(9.5861, 7.4837, 28.9506)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404594 #948F40
analogous
#406F94 #404594 #654094
triadic
#404594 #944045 #459440
tetradic
#404594 #94406F #948F40 #409465
square
#404594 #94406F #948F40 #409465
split-complementary
#404594 #946540 #6F9440
monochromatic
#1B1D3F #2E3169 #404594 #5A5FB8 #8489CA

Accessibility & contrast

On white

8.41
#404594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#404594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404594
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404594#FFFFFF#000000##FFFFFF
##4045941.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195197
Deuteranopia (green-blind)
#084A92
Tritanopia (blue-blind)
#145765
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #404594;
/* rgb */ color: rgb(64, 69, 148);
/* oklch */ color: oklch(43.0% 0.128 276.9);
Tailwind
colors: {
  custom: {
    50: '#7c78b4',
    500: '#404594',
    950: '#000000',
  },
}
SCSS
$custom: #404594;
$custom-light: #7c78b4;
$custom-dark: #000000;
JSON
{
  "hex": "#404594",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 236.429,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43004,
    "c": 0.12766,
    "h": 276.9
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#404594
secondary
#B4B17B
accent
#C858D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404594

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

Preview Lab → · Contrast checker → · Palette generator →

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