#403C73#403C73

#403C73 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.091 H 284.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#403C73
RGBrgb(64, 60, 115)
HSLhsl(244, 31%, 34%)
HSVhsv(244, 48%, 45%)
CMYKcmyk(44.3%, 47.8%, 0%, 54.9%)
CIE-LABlab(28.27, 16.98, -31.21)
CIE-LCHlch(28.27, 35.54, 298.55°)
OKLaboklab(38.83% 0.023 -0.0883)
OKLCHoklch(38.83% 0.091 284.6)
XYZxyz(6.8238, 5.5592, 16.9298)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C73 #6F733C
analogous
#3C5473 #403C73 #5C3C73
triadic
#403C73 #73403C #3C7340
tetradic
#403C73 #733C54 #6F733C #3C735C
square
#403C73 #733C54 #6F733C #3C735C
split-complementary
#403C73 #735C3C #54733C
monochromatic
#131223 #2A274B #403C73 #56519B #7873B6

Accessibility & contrast

On white

9.94
#403C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#403C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C73
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C73#FFFFFF#000000##FFFFFF
##403C731.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274475
Deuteranopia (green-blind)
#254172
Tritanopia (blue-blind)
#314752
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #403c73;
/* rgb */ color: rgb(64, 60, 115);
/* oklch */ color: oklch(38.8% 0.091 284.6);
Tailwind
colors: {
  custom: {
    50: '#78719b',
    500: '#403c73',
    950: '#000000',
  },
}
SCSS
$custom: #403c73;
$custom-light: #78719b;
$custom-dark: #000000;
JSON
{
  "hex": "#403c73",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 115
  },
  "hsl": {
    "h": 244.364,
    "s": 31.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.09126,
    "h": 284.6
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#403C73
secondary
#9CA06B
accent
#C860C0
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #403C73

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

Preview Lab → · Contrast checker → · Palette generator →

#403C73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva