#403B76#403B76

#403B76 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.8% C 0.098 H 284.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#403B76
RGBrgb(64, 59, 118)
HSLhsl(245, 33%, 35%)
HSVhsv(245, 50%, 46%)
CMYKcmyk(45.8%, 50%, 0%, 53.7%)
CIE-LABlab(28.18, 18.61, -33.26)
CIE-LCHlch(28.18, 38.11, 299.24°)
OKLaboklab(38.83% 0.0248 -0.0943)
OKLCHoklch(38.83% 0.098 284.7)
XYZxyz(6.9474, 5.5256, 17.8365)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B76 #71763B
analogous
#3B5476 #403B76 #5E3B76
triadic
#403B76 #76403B #3B7640
tetradic
#403B76 #763B54 #71763B #3B765E
square
#403B76 #763B54 #71763B #3B765E
split-complementary
#403B76 #765E3B #54763B
monochromatic
#141224 #2A274D #403B76 #564F9F #7973B9

Accessibility & contrast

On white

9.98
#403B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403B76
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B76#FFFFFF#000000##FFFFFF
##403B761.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#214175
Tritanopia (blue-blind)
#2F4753
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403b76;
/* rgb */ color: rgb(64, 59, 118);
/* oklch */ color: oklch(38.8% 0.098 284.7);
Tailwind
colors: {
  custom: {
    50: '#78719e',
    500: '#403b76',
    950: '#000000',
  },
}
SCSS
$custom: #403b76;
$custom-light: #78719e;
$custom-dark: #000000;
JSON
{
  "hex": "#403b76",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 118
  },
  "hsl": {
    "h": 245.085,
    "s": 33.333,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.09751,
    "h": 284.7
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#403B76
secondary
#9EA36A
accent
#C95EC0
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #403B76

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

Preview Lab → · Contrast checker → · Palette generator →

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