#404B95#404B95

#404B95 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.121 H 274.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#404B95
RGBrgb(64, 75, 149)
HSLhsl(232, 40%, 42%)
HSVhsv(232, 57%, 58%)
CMYKcmyk(57%, 49.7%, 0%, 41.6%)
CIE-LABlab(34.58, 18.43, -42.20)
CIE-LCHlch(34.58, 46.05, 293.60°)
OKLaboklab(44.31% 0.0086 -0.1204)
OKLCHoklch(44.31% 0.121 274.1)
XYZxyz(10.0535, 8.2914, 29.4986)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B95 #958A40
analogous
#407695 #404B95 #604095
triadic
#404B95 #95404B #4B9540
tetradic
#404B95 #954076 #958A40 #409560
square
#404B95 #954076 #958A40 #409560
split-complementary
#404B95 #956040 #769540
monochromatic
#1B203F #2E356A #404B95 #5A66B8 #858ECB

Accessibility & contrast

On white

7.90
#404B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#404B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B95
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B95#FFFFFF#000000##FFFFFF
##404B951.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#1B4E93
Tritanopia (blue-blind)
#105C69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #404b95;
/* rgb */ color: rgb(64, 75, 149);
/* oklch */ color: oklch(44.3% 0.121 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c7db5',
    500: '#404b95',
    950: '#000000',
  },
}
SCSS
$custom: #404b95;
$custom-light: #7c7db5;
$custom-dark: #000000;
JSON
{
  "hex": "#404b95",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 232.235,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44306,
    "c": 0.12074,
    "h": 274.1
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#404B95
secondary
#B5AE7C
accent
#C058D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404B95

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

Preview Lab → · Contrast checker → · Palette generator →

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