#404367#404367

#404367 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.061 H 279.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#404367
RGBrgb(64, 67, 103)
HSLhsl(235, 23%, 33%)
HSVhsv(235, 38%, 40%)
CMYKcmyk(37.9%, 35%, 0%, 59.6%)
CIE-LABlab(29.62, 8.55, -21.46)
CIE-LCHlch(29.62, 23.10, 291.71°)
OKLaboklab(39.65% 0.0101 -0.0599)
OKLCHoklch(39.65% 0.061 279.6)
XYZxyz(6.5690, 6.0833, 13.6574)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404367 #676440
analogous
#405667 #404367 #514067
triadic
#404367 #674043 #436740
tetradic
#404367 #674056 #676440 #406751
square
#404367 #674056 #676440 #406751
split-complementary
#404367 #675140 #566740
monochromatic
#11121C #292A41 #404367 #575C8D #777BAA

Accessibility & contrast

On white

9.47
#404367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#404367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404367
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404367#FFFFFF#000000##FFFFFF
##4043671.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384768
Deuteranopia (green-blind)
#354466
Tritanopia (blue-blind)
#354A50
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404367;
/* rgb */ color: rgb(64, 67, 103);
/* oklch */ color: oklch(39.6% 0.061 279.6);
Tailwind
colors: {
  custom: {
    50: '#767792',
    500: '#404367',
    950: '#000000',
  },
}
SCSS
$custom: #404367;
$custom-light: #767792;
$custom-dark: #000000;
JSON
{
  "hex": "#404367",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 103
  },
  "hsl": {
    "h": 235.385,
    "s": 23.353,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39649,
    "c": 0.06075,
    "h": 279.6
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#404367
secondary
#96936D
accent
#B968C0
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#08080D
muted
#7B7B7E

Preview Lab

Preview with #404367

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

Preview Lab → · Contrast checker → · Palette generator →

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