#404D96#404D96

#404D96 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.8% C 0.119 H 273.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#404D96
RGBrgb(64, 77, 150)
HSLhsl(231, 40%, 42%)
HSVhsv(231, 57%, 59%)
CMYKcmyk(57.3%, 48.7%, 0%, 41.2%)
CIE-LABlab(35.20, 17.47, -41.82)
CIE-LCHlch(35.20, 45.32, 292.67°)
OKLaboklab(44.8% 0.0064 -0.1193)
OKLCHoklch(44.8% 0.119 273.1)
XYZxyz(10.2715, 8.5990, 29.9668)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D96 #968940
analogous
#407896 #404D96 #5E4096
triadic
#404D96 #96404D #4D9640
tetradic
#404D96 #964078 #968940 #40965E
square
#404D96 #964078 #968940 #40965E
split-complementary
#404D96 #965E40 #789640
monochromatic
#1B2140 #2E376B #404D96 #5A69B9 #8590CB

Accessibility & contrast

On white

7.72
#404D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#404D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D96
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D96#FFFFFF#000000##FFFFFF
##404D961.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5799
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#0D5D6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #404d96;
/* rgb */ color: rgb(64, 77, 150);
/* oklch */ color: oklch(44.8% 0.119 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c7eb5',
    500: '#404d96',
    950: '#000000',
  },
}
SCSS
$custom: #404d96;
$custom-light: #7c7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#404d96",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 230.93,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44796,
    "c": 0.11946,
    "h": 273.1
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#404D96
secondary
#B6AD7C
accent
#BE58D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #404D96

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

Preview Lab → · Contrast checker → · Palette generator →

#404D96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva