#404895#404895

#404895 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.125 H 275.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#404895
RGBrgb(64, 72, 149)
HSLhsl(234, 40%, 42%)
HSVhsv(234, 57%, 58%)
CMYKcmyk(57%, 51.7%, 0%, 41.6%)
CIE-LABlab(33.76, 20.41, -43.52)
CIE-LCHlch(33.76, 48.07, 295.12°)
OKLaboklab(43.69% 0.012 -0.1243)
OKLCHoklch(43.69% 0.125 275.5)
XYZxyz(9.8548, 7.8940, 29.4323)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404895 #958D40
analogous
#407395 #404895 #634095
triadic
#404895 #954048 #489540
tetradic
#404895 #954073 #958D40 #409563
square
#404895 #954073 #958D40 #409563
split-complementary
#404895 #956340 #739540
monochromatic
#1B1F3F #2E336A #404895 #5A63B8 #858BCB

Accessibility & contrast

On white

8.14
#404895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#404895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404895
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404895#FFFFFF#000000##FFFFFF
##4048951.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#124C93
Tritanopia (blue-blind)
#115967
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #404895;
/* rgb */ color: rgb(64, 72, 149);
/* oklch */ color: oklch(43.7% 0.125 275.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ab5',
    500: '#404895',
    950: '#000000',
  },
}
SCSS
$custom: #404895;
$custom-light: #7c7ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#404895",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 234.353,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43686,
    "c": 0.12492,
    "h": 275.5
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#404895
secondary
#B5B07C
accent
#C558D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404895

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

Preview Lab → · Contrast checker → · Palette generator →

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