#404897#404897

#404897 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.128 H 275.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#404897
RGBrgb(64, 72, 151)
HSLhsl(234, 40%, 42%)
HSVhsv(234, 58%, 59%)
CMYKcmyk(57.6%, 52.3%, 0%, 40.8%)
CIE-LABlab(33.90, 21.10, -44.52)
CIE-LCHlch(33.90, 49.26, 295.36°)
OKLaboklab(43.83% 0.0122 -0.1273)
OKLCHoklch(43.83% 0.128 275.5)
XYZxyz(10.0158, 7.9584, 30.2805)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404897 #978F40
analogous
#407497 #404897 #644097
triadic
#404897 #974048 #489740
tetradic
#404897 #974074 #978F40 #409764
square
#404897 #974074 #978F40 #409764
split-complementary
#404897 #976440 #749740
monochromatic
#1C1F41 #2E346C #404897 #5B63B9 #868CCC

Accessibility & contrast

On white

8.10
#404897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#404897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404897
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404897#FFFFFF#000000##FFFFFF
##4048971.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#0D4C95
Tritanopia (blue-blind)
#0D5A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #404897;
/* rgb */ color: rgb(64, 72, 151);
/* oklch */ color: oklch(43.8% 0.128 275.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ab6',
    500: '#404897',
    950: '#000000',
  },
}
SCSS
$custom: #404897;
$custom-light: #7c7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#404897",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 234.483,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.12787,
    "h": 275.5
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#404897
secondary
#B6B17D
accent
#C557D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404897

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

Preview Lab → · Contrast checker → · Palette generator →

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