#403F76#403F76

#403F76 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.091 H 282.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#403F76
RGBrgb(64, 63, 118)
HSLhsl(241, 30%, 35%)
HSVhsv(241, 47%, 46%)
CMYKcmyk(45.8%, 46.6%, 0%, 53.7%)
CIE-LABlab(29.29, 15.95, -31.49)
CIE-LCHlch(29.29, 35.30, 296.86°)
OKLaboklab(39.67% 0.0193 -0.0891)
OKLCHoklch(39.67% 0.091 282.2)
XYZxyz(7.1609, 5.9527, 17.9077)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F76 #75763F
analogous
#3F5976 #403F76 #5B3F76
triadic
#403F76 #76403F #3F7640
tetradic
#403F76 #763F59 #75763F #3F765B
square
#403F76 #763F59 #75763F #3F765B
split-complementary
#403F76 #765B3F #59763F
monochromatic
#151426 #2A2A4E #403F76 #56549E #7978B7

Accessibility & contrast

On white

9.59
#403F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#403F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F76
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F76#FFFFFF#000000##FFFFFF
##403F761.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4778
Deuteranopia (green-blind)
#274375
Tritanopia (blue-blind)
#2F4A54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403f76;
/* rgb */ color: rgb(64, 63, 118);
/* oklch */ color: oklch(39.7% 0.091 282.2);
Tailwind
colors: {
  custom: {
    50: '#78749e',
    500: '#403f76',
    950: '#000000',
  },
}
SCSS
$custom: #403f76;
$custom-light: #78749e;
$custom-dark: #000000;
JSON
{
  "hex": "#403f76",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 118
  },
  "hsl": {
    "h": 241.091,
    "s": 30.387,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.09117,
    "h": 282.2
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#403F76
secondary
#A1A26F
accent
#C761C5
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #403F76

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

Preview Lab → · Contrast checker → · Palette generator →

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