#403D75#403D75

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

Color values

HEX#403D75
RGBrgb(64, 61, 117)
HSLhsl(243, 31%, 35%)
HSVhsv(243, 48%, 46%)
CMYKcmyk(45.3%, 47.9%, 0%, 54.1%)
CIE-LABlab(28.67, 16.96, -31.84)
CIE-LCHlch(28.67, 36.08, 298.04°)
OKLaboklab(39.18% 0.0219 -0.0901)
OKLCHoklch(39.18% 0.093 283.7)
XYZxyz(6.9930, 5.7115, 17.5601)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D75 #72753D
analogous
#3D5675 #403D75 #5C3D75
triadic
#403D75 #75403D #3D7540
tetradic
#403D75 #753D56 #72753D #3D755C
square
#403D75 #753D56 #72753D #3D755C
split-complementary
#403D75 #755C3D #56753D
monochromatic
#141325 #2A284D #403D75 #56529D #7975B7

Accessibility & contrast

On white

9.80
#403D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D75
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D75#FFFFFF#000000##FFFFFF
##403D751.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274577
Deuteranopia (green-blind)
#254274
Tritanopia (blue-blind)
#2F4853
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #403d75;
/* rgb */ color: rgb(64, 61, 117);
/* oklch */ color: oklch(39.2% 0.093 283.7);
Tailwind
colors: {
  custom: {
    50: '#78729d',
    500: '#403d75',
    950: '#000000',
  },
}
SCSS
$custom: #403d75;
$custom-light: #78729d;
$custom-dark: #000000;
JSON
{
  "hex": "#403d75",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 117
  },
  "hsl": {
    "h": 243.214,
    "s": 31.461,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39178,
    "c": 0.09278,
    "h": 283.7
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#403D75
secondary
#9FA16C
accent
#C860C2
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #403D75

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

Preview Lab → · Contrast checker → · Palette generator →

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