#403C79#403C79

#403C79 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.2% C 0.101 H 283.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#403C79
RGBrgb(64, 60, 121)
HSLhsl(244, 34%, 35%)
HSVhsv(244, 50%, 47%)
CMYKcmyk(47.1%, 50.4%, 0%, 52.5%)
CIE-LABlab(28.65, 18.92, -34.41)
CIE-LCHlch(28.65, 39.27, 298.81°)
OKLaboklab(39.24% 0.0238 -0.0977)
OKLCHoklch(39.24% 0.101 283.7)
XYZxyz(7.1804, 5.7019, 18.8077)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C79 #75793C
analogous
#3C5679 #403C79 #5E3C79
triadic
#403C79 #79403C #3C7940
tetradic
#403C79 #793C56 #75793C #3C795E
square
#403C79 #793C56 #75793C #3C795E
split-complementary
#403C79 #795E3C #56793C
monochromatic
#151327 #2A2850 #403C79 #5650A2 #7975BB

Accessibility & contrast

On white

9.81
#403C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#403C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C79
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C79#FFFFFF#000000##FFFFFF
##403C791.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457B
Deuteranopia (green-blind)
#204278
Tritanopia (blue-blind)
#2D4954
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #403c79;
/* rgb */ color: rgb(64, 60, 121);
/* oklch */ color: oklch(39.2% 0.101 283.7);
Tailwind
colors: {
  custom: {
    50: '#7971a0',
    500: '#403c79',
    950: '#000000',
  },
}
SCSS
$custom: #403c79;
$custom-light: #7971a0;
$custom-dark: #000000;
JSON
{
  "hex": "#403c79",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 243.934,
    "s": 33.702,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3924,
    "c": 0.10054,
    "h": 283.7
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#403C79
secondary
#A1A46C
accent
#CA5EC3
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #403C79

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

Preview Lab → · Contrast checker → · Palette generator →

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