#404D95#404D95

#404D95 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.7% C 0.118 H 273.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#404D95
RGBrgb(64, 77, 149)
HSLhsl(231, 40%, 42%)
HSVhsv(231, 57%, 58%)
CMYKcmyk(57%, 48.3%, 0%, 41.6%)
CIE-LABlab(35.14, 17.12, -41.31)
CIE-LCHlch(35.14, 44.72, 292.51°)
OKLaboklab(44.73% 0.0063 -0.1178)
OKLCHoklch(44.73% 0.118 273)
XYZxyz(10.1913, 8.5669, 29.5445)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D95 #958840
analogous
#407895 #404D95 #5E4095
triadic
#404D95 #95404D #4D9540
tetradic
#404D95 #954078 #958840 #40955E
square
#404D95 #954078 #958840 #40955E
split-complementary
#404D95 #955E40 #789540
monochromatic
#1B213F #2E376A #404D95 #5A68B8 #8590CB

Accessibility & contrast

On white

7.74
#404D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#404D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D95
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D95#FFFFFF#000000##FFFFFF
##404D951.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#0F5D6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #404d95;
/* rgb */ color: rgb(64, 77, 149);
/* oklch */ color: oklch(44.7% 0.118 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c7eb4',
    500: '#404d95',
    950: '#000000',
  },
}
SCSS
$custom: #404d95;
$custom-light: #7c7eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#404d95",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 230.824,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44727,
    "c": 0.11798,
    "h": 273
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#404D95
secondary
#B5AC7C
accent
#BD58D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #404D95

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

Preview Lab → · Contrast checker → · Palette generator →

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