#403B73#403B73

#403B73 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.093 H 285.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#403B73
RGBrgb(64, 59, 115)
HSLhsl(245, 32%, 34%)
HSVhsv(245, 49%, 45%)
CMYKcmyk(44.3%, 48.7%, 0%, 54.9%)
CIE-LABlab(28.00, 17.65, -31.66)
CIE-LCHlch(28.00, 36.24, 299.14°)
OKLaboklab(38.63% 0.0244 -0.0896)
OKLCHoklch(38.63% 0.093 285.2)
XYZxyz(6.7719, 5.4555, 16.9125)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B73 #6E733B
analogous
#3B5273 #403B73 #5C3B73
triadic
#403B73 #73403B #3B7340
tetradic
#403B73 #733B52 #6E733B #3B735C
square
#403B73 #733B52 #6E733B #3B735C
split-complementary
#403B73 #735C3B #52733B
monochromatic
#131122 #29264B #403B73 #57509B #7872B7

Accessibility & contrast

On white

10.04
#403B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#403B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B73
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B73#FFFFFF#000000##FFFFFF
##403B731.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254475
Deuteranopia (green-blind)
#244072
Tritanopia (blue-blind)
#314651
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403b73;
/* rgb */ color: rgb(64, 59, 115);
/* oklch */ color: oklch(38.6% 0.093 285.2);
Tailwind
colors: {
  custom: {
    50: '#78719b',
    500: '#403b73',
    950: '#000000',
  },
}
SCSS
$custom: #403b73;
$custom-light: #78719b;
$custom-dark: #000000;
JSON
{
  "hex": "#403b73",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 115
  },
  "hsl": {
    "h": 245.357,
    "s": 32.184,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.09288,
    "h": 285.2
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#403B73
secondary
#9BA069
accent
#C85FBF
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #403B73

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

Preview Lab → · Contrast checker → · Palette generator →

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