#403D73#403D73

#403D73 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.090 H 284.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#403D73
RGBrgb(64, 61, 115)
HSLhsl(243, 31%, 35%)
HSVhsv(243, 47%, 45%)
CMYKcmyk(44.3%, 47%, 0%, 54.9%)
CIE-LABlab(28.55, 16.32, -30.77)
CIE-LCHlch(28.55, 34.83, 297.93°)
OKLaboklab(39.05% 0.0216 -0.087)
OKLCHoklch(39.05% 0.09 284)
XYZxyz(6.8767, 5.6650, 16.9475)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D73 #70733D
analogous
#3D5573 #403D73 #5B3D73
triadic
#403D73 #73403D #3D7340
tetradic
#403D73 #733D55 #70733D #3D735B
square
#403D73 #733D55 #70733D #3D735B
split-complementary
#403D73 #735B3D #55733D
monochromatic
#131323 #2A284B #403D73 #56529B #7875B6

Accessibility & contrast

On white

9.85
#403D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#403D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D73
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D73#FFFFFF#000000##FFFFFF
##403D731.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294575
Deuteranopia (green-blind)
#274272
Tritanopia (blue-blind)
#314852
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #403d73;
/* rgb */ color: rgb(64, 61, 115);
/* oklch */ color: oklch(39.0% 0.090 284.0);
Tailwind
colors: {
  custom: {
    50: '#78729b',
    500: '#403d73',
    950: '#000000',
  },
}
SCSS
$custom: #403d73;
$custom-light: #78729b;
$custom-dark: #000000;
JSON
{
  "hex": "#403d73",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 115
  },
  "hsl": {
    "h": 243.333,
    "s": 30.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39046,
    "c": 0.08966,
    "h": 284
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#403D73
secondary
#9DA06C
accent
#C761C1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #403D73

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

Preview Lab → · Contrast checker → · Palette generator →

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