#404396#404396

#404396 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.133 H 277.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#404396
RGBrgb(64, 67, 150)
HSLhsl(238, 40%, 42%)
HSVhsv(238, 57%, 59%)
CMYKcmyk(57.3%, 55.3%, 0%, 41.2%)
CIE-LABlab(32.49, 24.03, -46.17)
CIE-LCHlch(32.49, 52.05, 297.50°)
OKLaboklab(42.76% 0.0176 -0.1322)
OKLCHoklch(42.76% 0.133 277.6)
XYZxyz(9.6248, 7.3056, 29.7512)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404396 #969340
analogous
#406E96 #404396 #684096
triadic
#404396 #964043 #439640
tetradic
#404396 #96406E #969340 #409668
square
#404396 #96406E #969340 #409668
split-complementary
#404396 #966840 #6E9640
monochromatic
#1B1D40 #2E306B #404396 #5A5EB9 #8588CB

Accessibility & contrast

On white

8.53
#404396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#404396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404396
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404396#FFFFFF#000000##FFFFFF
##4043961.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5099
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#115666
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #404396;
/* rgb */ color: rgb(64, 67, 150);
/* oklch */ color: oklch(42.8% 0.133 277.6);
Tailwind
colors: {
  custom: {
    50: '#7d77b5',
    500: '#404396',
    950: '#000000',
  },
}
SCSS
$custom: #404396;
$custom-light: #7d77b5;
$custom-dark: #000000;
JSON
{
  "hex": "#404396",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 237.907,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42756,
    "c": 0.13337,
    "h": 277.6
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#404396
secondary
#B6B47C
accent
#CC58D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404396

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

Preview Lab → · Contrast checker → · Palette generator →

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