#403F79#403F79

#403F79 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.9% C 0.096 H 281.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#403F79
RGBrgb(64, 63, 121)
HSLhsl(241, 32%, 36%)
HSVhsv(241, 48%, 47%)
CMYKcmyk(47.1%, 47.9%, 0%, 52.5%)
CIE-LABlab(29.48, 16.93, -33.08)
CIE-LCHlch(29.48, 37.16, 297.10°)
OKLaboklab(39.87% 0.0198 -0.0938)
OKLCHoklch(39.87% 0.096 281.9)
XYZxyz(7.3420, 6.0251, 18.8616)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F79 #78793F
analogous
#3F5B79 #403F79 #5D3F79
triadic
#403F79 #79403F #3F7940
tetradic
#403F79 #793F5B #78793F #3F795D
square
#403F79 #793F5B #78793F #3F795D
split-complementary
#403F79 #795D3F #5B793F
monochromatic
#151529 #2B2A51 #403F79 #5554A1 #7A79B9

Accessibility & contrast

On white

9.52
#403F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#403F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F79
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F79#FFFFFF#000000##FFFFFF
##403F791.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#244378
Tritanopia (blue-blind)
#2D4B56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403f79;
/* rgb */ color: rgb(64, 63, 121);
/* oklch */ color: oklch(39.9% 0.096 281.9);
Tailwind
colors: {
  custom: {
    50: '#7874a0',
    500: '#403f79',
    950: '#000000',
  },
}
SCSS
$custom: #403f79;
$custom-light: #7874a0;
$custom-dark: #000000;
JSON
{
  "hex": "#403f79",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 241.034,
    "s": 31.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.09584,
    "h": 281.9
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#403F79
secondary
#A3A470
accent
#C860C6
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080F
muted
#7B7B7E

Preview Lab

Preview with #403F79

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

Preview Lab → · Contrast checker → · Palette generator →

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