#404A95#404A95

#404A95 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.122 H 274.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#404A95
RGBrgb(64, 74, 149)
HSLhsl(233, 40%, 42%)
HSVhsv(233, 57%, 58%)
CMYKcmyk(57%, 50.3%, 0%, 41.6%)
CIE-LABlab(34.31, 19.09, -42.64)
CIE-LCHlch(34.31, 46.72, 294.12°)
OKLaboklab(44.1% 0.0097 -0.1217)
OKLCHoklch(44.1% 0.122 274.6)
XYZxyz(9.9862, 8.1568, 29.4761)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A95 #958B40
analogous
#407595 #404A95 #614095
triadic
#404A95 #95404A #4A9540
tetradic
#404A95 #954075 #958B40 #409561
square
#404A95 #954075 #958B40 #409561
split-complementary
#404A95 #956140 #759540
monochromatic
#1B1F3F #2E356A #404A95 #5A65B8 #858DCB

Accessibility & contrast

On white

7.98
#404A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#404A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A95
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A95#FFFFFF#000000##FFFFFF
##404A951.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255498
Deuteranopia (green-blind)
#184D93
Tritanopia (blue-blind)
#105B68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #404a95;
/* rgb */ color: rgb(64, 74, 149);
/* oklch */ color: oklch(44.1% 0.122 274.6);
Tailwind
colors: {
  custom: {
    50: '#7c7cb5',
    500: '#404a95',
    950: '#000000',
  },
}
SCSS
$custom: #404a95;
$custom-light: #7c7cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#404a95",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 232.941,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44098,
    "c": 0.12214,
    "h": 274.6
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404A95

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

Preview Lab → · Contrast checker → · Palette generator →

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