#404073#404073

#404073 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.085 H 281.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#404073
RGBrgb(64, 64, 115)
HSLhsl(240, 28%, 35%)
HSVhsv(240, 44%, 45%)
CMYKcmyk(44.3%, 44.3%, 0%, 54.9%)
CIE-LABlab(29.40, 14.31, -29.43)
CIE-LCHlch(29.40, 32.72, 295.94°)
OKLaboklab(39.69% 0.0174 -0.0831)
OKLCHoklch(39.69% 0.085 281.8)
XYZxyz(7.0414, 5.9943, 17.0023)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404073 #737340
analogous
#405973 #404073 #594073
triadic
#404073 #734040 #407340
tetradic
#404073 #734059 #737340 #407359
square
#404073 #734059 #737340 #407359
split-complementary
#404073 #735940 #597340
monochromatic
#141424 #2A2A4C #404073 #56569A #7979B4

Accessibility & contrast

On white

9.55
#404073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#404073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404073
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404073#FFFFFF#000000##FFFFFF
##4040731.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4775
Deuteranopia (green-blind)
#2B4472
Tritanopia (blue-blind)
#304A54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404073;
/* rgb */ color: rgb(64, 64, 115);
/* oklch */ color: oklch(39.7% 0.085 281.8);
Tailwind
colors: {
  custom: {
    50: '#78749b',
    500: '#404073',
    950: '#000000',
  },
}
SCSS
$custom: #404073;
$custom-light: #78749b;
$custom-dark: #000000;
JSON
{
  "hex": "#404073",
  "rgb": {
    "r": 64,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 28.492,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3969,
    "c": 0.08487,
    "h": 281.8
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#404073
secondary
#9F9F70
accent
#C563C5
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #404073

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

Preview Lab → · Contrast checker → · Palette generator →

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