#403A73#403A73

#403A73 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.4% C 0.094 H 285.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#403A73
RGBrgb(64, 58, 115)
HSLhsl(246, 33%, 34%)
HSVhsv(246, 50%, 45%)
CMYKcmyk(44.3%, 49.6%, 0%, 54.9%)
CIE-LABlab(27.72, 18.32, -32.10)
CIE-LCHlch(27.72, 36.95, 299.71°)
OKLaboklab(38.42% 0.0258 -0.0909)
OKLCHoklch(38.42% 0.094 285.9)
XYZxyz(6.7210, 5.3536, 16.8956)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A73 #6D733A
analogous
#3A5173 #403A73 #5D3A73
triadic
#403A73 #73403A #3A7340
tetradic
#403A73 #733A51 #6D733A #3A735D
square
#403A73 #733A51 #6D733A #3A735D
split-complementary
#403A73 #735D3A #51733A
monochromatic
#131122 #29254A #403A73 #574F9C #7870B7

Accessibility & contrast

On white

10.14
#403A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#403A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A73
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A73#FFFFFF#000000##FFFFFF
##403A731.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234375
Deuteranopia (green-blind)
#224072
Tritanopia (blue-blind)
#314651
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403a73;
/* rgb */ color: rgb(64, 58, 115);
/* oklch */ color: oklch(38.4% 0.094 285.9);
Tailwind
colors: {
  custom: {
    50: '#78709c',
    500: '#403a73',
    950: '#000000',
  },
}
SCSS
$custom: #403a73;
$custom-light: #78709c;
$custom-dark: #000000;
JSON
{
  "hex": "#403a73",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 115
  },
  "hsl": {
    "h": 246.316,
    "s": 32.948,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38418,
    "c": 0.09449,
    "h": 285.9
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#403A73
secondary
#9BA168
accent
#C95FBE
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #403A73

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

Preview Lab → · Contrast checker → · Palette generator →

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