#404899#404899

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

Color values

HEX#404899
RGBrgb(64, 72, 153)
HSLhsl(235, 41%, 43%)
HSVhsv(235, 58%, 60%)
CMYKcmyk(58.2%, 52.9%, 0%, 40%)
CIE-LABlab(34.03, 21.79, -45.51)
CIE-LCHlch(34.03, 50.46, 295.58°)
OKLaboklab(43.98% 0.0123 -0.1302)
OKLCHoklch(43.98% 0.131 275.4)
XYZxyz(10.1796, 8.0239, 31.1432)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404899 #999140
analogous
#407499 #404899 #654099
triadic
#404899 #994048 #489940
tetradic
#404899 #994074 #999140 #409965
square
#404899 #994074 #999140 #409965
split-complementary
#404899 #996540 #749940
monochromatic
#1C1F43 #2E346E #404899 #5C64BB #878DCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404899#FFFFFF#000000##FFFFFF
##4048991.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)
#1B549C
Deuteranopia (green-blind)
#074C97
Tritanopia (blue-blind)
#085A69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #404899;
/* rgb */ color: rgb(64, 72, 153);
/* oklch */ color: oklch(44.0% 0.131 275.4);
Tailwind
colors: {
  custom: {
    50: '#7d7ab8',
    500: '#404899',
    950: '#000000',
  },
}
SCSS
$custom: #404899;
$custom-light: #7d7ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#404899",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 234.607,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.13079,
    "h": 275.4
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#404899
secondary
#B7B27E
accent
#C657D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404899

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

Preview Lab → · Contrast checker → · Palette generator →

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