#403B6D#403B6D

#403B6D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.2% C 0.083 H 286.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#403B6D
RGBrgb(64, 59, 109)
HSLhsl(246, 30%, 33%)
HSVhsv(246, 46%, 43%)
CMYKcmyk(41.3%, 45.9%, 0%, 57.3%)
CIE-LABlab(27.63, 15.74, -28.42)
CIE-LCHlch(27.63, 32.49, 298.99°)
OKLaboklab(38.23% 0.0235 -0.0801)
OKLCHoklch(38.23% 0.083 286.3)
XYZxyz(6.4379, 5.3218, 15.1530)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B6D #686D3B
analogous
#3B4F6D #403B6D #593B6D
triadic
#403B6D #6D403B #3B6D40
tetradic
#403B6D #6D3B4F #686D3B #3B6D59
square
#403B6D #6D3B4F #686D3B #3B6D59
split-complementary
#403B6D #6D593B #4F6D3B
monochromatic
#11101E #292645 #403B6D #575095 #7771B2

Accessibility & contrast

On white

10.17
#403B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#403B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B6D
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B6D#FFFFFF#000000##FFFFFF
##403B6D1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29436F
Deuteranopia (green-blind)
#28406C
Tritanopia (blue-blind)
#33454E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403b6d;
/* rgb */ color: rgb(64, 59, 109);
/* oklch */ color: oklch(38.2% 0.083 286.3);
Tailwind
colors: {
  custom: {
    50: '#777197',
    500: '#403b6d',
    950: '#000000',
  },
}
SCSS
$custom: #403b6d;
$custom-light: #777197;
$custom-dark: #000000;
JSON
{
  "hex": "#403b6d",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 109
  },
  "hsl": {
    "h": 246,
    "s": 29.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38234,
    "c": 0.08349,
    "h": 286.3
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#403B6D
secondary
#979C68
accent
#C662BC
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #403B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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