#404399#404399

#404399 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.138 H 277.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#404399
RGBrgb(64, 67, 153)
HSLhsl(238, 41%, 43%)
HSVhsv(238, 58%, 60%)
CMYKcmyk(58.2%, 56.2%, 0%, 40%)
CIE-LABlab(32.71, 25.06, -47.65)
CIE-LCHlch(32.71, 53.84, 297.74°)
OKLaboklab(42.99% 0.0177 -0.1365)
OKLCHoklch(42.99% 0.138 277.4)
XYZxyz(9.8694, 7.4035, 31.0398)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404399 #999640
analogous
#406F99 #404399 #6A4099
triadic
#404399 #994043 #439940
tetradic
#404399 #99406F #999640 #40996A
square
#404399 #99406F #999640 #40996A
split-complementary
#404399 #996A40 #6F9940
monochromatic
#1C1D43 #2E306E #404399 #5C5FBB #8789CD

Accessibility & contrast

On white

8.47
#404399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#404399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404399
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404399#FFFFFF#000000##FFFFFF
##4043991.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05519C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#0A5767
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #404399;
/* rgb */ color: rgb(64, 67, 153);
/* oklch */ color: oklch(43.0% 0.138 277.4);
Tailwind
colors: {
  custom: {
    50: '#7d77b8',
    500: '#404399',
    950: '#000000',
  },
}
SCSS
$custom: #404399;
$custom-light: #7d77b8;
$custom-dark: #000000;
JSON
{
  "hex": "#404399",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 237.978,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42985,
    "c": 0.13769,
    "h": 277.4
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#404399
secondary
#B7B57E
accent
#CD57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404399

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

Preview Lab → · Contrast checker → · Palette generator →

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