#404599#404599

#404599 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.135 H 276.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#404599
RGBrgb(64, 69, 153)
HSLhsl(237, 41%, 43%)
HSVhsv(237, 58%, 60%)
CMYKcmyk(58.2%, 54.9%, 0%, 40%)
CIE-LABlab(33.23, 23.76, -46.80)
CIE-LCHlch(33.23, 52.48, 296.91°)
OKLaboklab(43.38% 0.0156 -0.134)
OKLCHoklch(43.38% 0.135 276.6)
XYZxyz(9.9904, 7.6454, 31.0801)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404599 #999440
analogous
#407299 #404599 #674099
triadic
#404599 #994045 #459940
tetradic
#404599 #994072 #999440 #409967
square
#404599 #994072 #999440 #409967
split-complementary
#404599 #996740 #729940
monochromatic
#1C1E43 #2E326E #404599 #5C61BB #878BCD

Accessibility & contrast

On white

8.30
#404599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#404599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404599
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404599#FFFFFF#000000##FFFFFF
##4045991.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10529C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#095868
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #404599;
/* rgb */ color: rgb(64, 69, 153);
/* oklch */ color: oklch(43.4% 0.135 276.6);
Tailwind
colors: {
  custom: {
    50: '#7d78b8',
    500: '#404599',
    950: '#000000',
  },
}
SCSS
$custom: #404599;
$custom-light: #7d78b8;
$custom-dark: #000000;
JSON
{
  "hex": "#404599",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 236.629,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.13493,
    "h": 276.6
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#404599
secondary
#B7B47E
accent
#CA57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404599

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

Preview Lab → · Contrast checker → · Palette generator →

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