#403B79#403B79

#403B79 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 39.0% C 0.102 H 284.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#403B79
RGBrgb(64, 59, 121)
HSLhsl(245, 34%, 35%)
HSVhsv(245, 51%, 47%)
CMYKcmyk(47.1%, 51.2%, 0%, 52.5%)
CIE-LABlab(28.38, 19.59, -34.84)
CIE-LCHlch(28.38, 39.97, 299.34°)
OKLaboklab(39.03% 0.0252 -0.0989)
OKLCHoklch(39.03% 0.102 284.3)
XYZxyz(7.1285, 5.5981, 18.7904)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B79 #74793B
analogous
#3B5579 #403B79 #5F3B79
triadic
#403B79 #79403B #3B7940
tetradic
#403B79 #793B55 #74793B #3B795F
square
#403B79 #793B55 #74793B #3B795F
split-complementary
#403B79 #795F3B #55793B
monochromatic
#141327 #2A2750 #403B79 #564FA2 #7973BB

Accessibility & contrast

On white

9.91
#403B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#403B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B79
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B79#FFFFFF#000000##FFFFFF
##403B791.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#1E4178
Tritanopia (blue-blind)
#2E4854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #403b79;
/* rgb */ color: rgb(64, 59, 121);
/* oklch */ color: oklch(39.0% 0.102 284.3);
Tailwind
colors: {
  custom: {
    50: '#7971a0',
    500: '#403b79',
    950: '#000000',
  },
}
SCSS
$custom: #403b79;
$custom-light: #7971a0;
$custom-dark: #000000;
JSON
{
  "hex": "#403b79",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 244.839,
    "s": 34.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39035,
    "c": 0.1021,
    "h": 284.3
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#403B79
secondary
#A0A56B
accent
#CB5DC2
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #403B79

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

Preview Lab → · Contrast checker → · Palette generator →

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