#403B72#403B72

#403B72 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.6% C 0.091 H 285.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#403B72
RGBrgb(64, 59, 114)
HSLhsl(245, 32%, 34%)
HSVhsv(245, 48%, 45%)
CMYKcmyk(43.9%, 48.2%, 0%, 55.3%)
CIE-LABlab(27.93, 17.33, -31.12)
CIE-LCHlch(27.93, 35.62, 299.11°)
OKLaboklab(38.56% 0.0243 -0.088)
OKLCHoklch(38.56% 0.091 285.4)
XYZxyz(6.7147, 5.4326, 16.6111)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B72 #6D723B
analogous
#3B5272 #403B72 #5C3B72
triadic
#403B72 #72403B #3B7240
tetradic
#403B72 #723B52 #6D723B #3B725C
square
#403B72 #723B52 #6D723B #3B725C
split-complementary
#403B72 #725C3B #52723B
monochromatic
#131121 #29264A #403B72 #57509A #7872B6

Accessibility & contrast

On white

10.06
#403B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#403B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B72
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B72#FFFFFF#000000##FFFFFF
##403B721.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264374
Deuteranopia (green-blind)
#254071
Tritanopia (blue-blind)
#314651
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403b72;
/* rgb */ color: rgb(64, 59, 114);
/* oklch */ color: oklch(38.6% 0.091 285.4);
Tailwind
colors: {
  custom: {
    50: '#78719b',
    500: '#403b72',
    950: '#000000',
  },
}
SCSS
$custom: #403b72;
$custom-light: #78719b;
$custom-dark: #000000;
JSON
{
  "hex": "#403b72",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 114
  },
  "hsl": {
    "h": 245.455,
    "s": 31.792,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.09132,
    "h": 285.4
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#403B72
secondary
#9BA069
accent
#C860BE
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #403B72

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

Preview Lab → · Contrast checker → · Palette generator →

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