#404378#404378

#404378 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.088 H 279.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#404378
RGBrgb(64, 67, 120)
HSLhsl(237, 30%, 36%)
HSVhsv(237, 47%, 47%)
CMYKcmyk(46.7%, 44.2%, 0%, 52.9%)
CIE-LABlab(30.54, 13.94, -30.76)
CIE-LCHlch(30.54, 33.77, 294.38°)
OKLaboklab(40.66% 0.0142 -0.0869)
OKLCHoklch(40.66% 0.088 279.3)
XYZxyz(7.5107, 6.4600, 18.6168)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404378 #787540
analogous
#405F78 #404378 #594078
triadic
#404378 #784043 #437840
tetradic
#404378 #78405F #787540 #407859
square
#404378 #78405F #787540 #407859
split-complementary
#404378 #785940 #5F7840
monochromatic
#151628 #2B2D50 #404378 #5559A0 #7A7EB8

Accessibility & contrast

On white

9.16
#404378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#404378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404378
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404378#FFFFFF#000000##FFFFFF
##4043781.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A7A
Deuteranopia (green-blind)
#2B4677
Tritanopia (blue-blind)
#2D4E57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404378;
/* rgb */ color: rgb(64, 67, 120);
/* oklch */ color: oklch(40.7% 0.088 279.3);
Tailwind
colors: {
  custom: {
    50: '#78779f',
    500: '#404378',
    950: '#000000',
  },
}
SCSS
$custom: #404378;
$custom-light: #78779f;
$custom-dark: #000000;
JSON
{
  "hex": "#404378",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 236.786,
    "s": 30.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40658,
    "c": 0.08809,
    "h": 279.3
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#404378
secondary
#A3A071
accent
#C161C7
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #404378

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

Preview Lab → · Contrast checker → · Palette generator →

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