#405073#405073

#405073 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.3% C 0.062 H 265.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#405073
RGBrgb(64, 80, 115)
HSLhsl(221, 28%, 35%)
HSVhsv(221, 44%, 45%)
CMYKcmyk(44.3%, 30.4%, 0%, 54.9%)
CIE-LABlab(34.12, 3.80, -22.01)
CIE-LCHlch(34.12, 22.34, 279.79°)
OKLaboklab(43.33% -0.0053 -0.0615)
OKLCHoklch(43.33% 0.062 265.1)
XYZxyz(8.0766, 8.0647, 17.3474)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405073 #736340
analogous
#406A73 #405073 #494073
triadic
#405073 #734050 #507340
tetradic
#405073 #73406A #736340 #407349
square
#405073 #73406A #736340 #407349
split-complementary
#405073 #734940 #6A7340
monochromatic
#141924 #2A354C #405073 #566B9A #798CB4

Accessibility & contrast

On white

8.04
#405073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#405073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405073
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405073#FFFFFF#000000##FFFFFF
##4050731.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445375
Deuteranopia (green-blind)
#3E4E72
Tritanopia (blue-blind)
#2E575C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405073;
/* rgb */ color: rgb(64, 80, 115);
/* oklch */ color: oklch(43.3% 0.062 265.1);
Tailwind
colors: {
  custom: {
    50: '#77809b',
    500: '#405073',
    950: '#000000',
  },
}
SCSS
$custom: #405073;
$custom-light: #77809b;
$custom-dark: #000000;
JSON
{
  "hex": "#405073",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 115
  },
  "hsl": {
    "h": 221.176,
    "s": 28.492,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43326,
    "c": 0.06173,
    "h": 265.1
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#405073
secondary
#9F9070
accent
#A663C5
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #405073

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

Preview Lab → · Contrast checker → · Palette generator →

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