#404995#404995

#404995 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.124 H 275.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#404995
RGBrgb(64, 73, 149)
HSLhsl(234, 40%, 42%)
HSVhsv(234, 57%, 58%)
CMYKcmyk(57%, 51%, 0%, 41.6%)
CIE-LABlab(34.03, 19.75, -43.08)
CIE-LCHlch(34.03, 47.39, 294.63°)
OKLaboklab(43.89% 0.0108 -0.123)
OKLCHoklch(43.89% 0.124 275)
XYZxyz(9.9200, 8.0243, 29.4541)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404995 #958C40
analogous
#407495 #404995 #624095
triadic
#404995 #954049 #499540
tetradic
#404995 #954074 #958C40 #409562
square
#404995 #954074 #958C40 #409562
split-complementary
#404995 #956240 #749540
monochromatic
#1B1F3F #2E346A #404995 #5A64B8 #858CCB

Accessibility & contrast

On white

8.06
#404995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#404995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404995
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404995#FFFFFF#000000##FFFFFF
##4049951.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#154D93
Tritanopia (blue-blind)
#115A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #404995;
/* rgb */ color: rgb(64, 73, 149);
/* oklch */ color: oklch(43.9% 0.124 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c7bb5',
    500: '#404995',
    950: '#000000',
  },
}
SCSS
$custom: #404995;
$custom-light: #7c7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#404995",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 149
  },
  "hsl": {
    "h": 233.647,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43891,
    "c": 0.12353,
    "h": 275
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#404995
secondary
#B5AF7C
accent
#C358D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404995

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

Preview Lab → · Contrast checker → · Palette generator →

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