#403D6A#403D6A

#403D6A is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.075 H 285.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#403D6A
RGBrgb(64, 61, 106)
HSLhsl(244, 27%, 33%)
HSVhsv(244, 42%, 42%)
CMYKcmyk(39.6%, 42.5%, 0%, 58.4%)
CIE-LABlab(28.03, 13.47, -25.87)
CIE-LCHlch(28.03, 29.17, 297.50°)
OKLaboklab(38.48% 0.0199 -0.0727)
OKLCHoklch(38.48% 0.075 285.3)
XYZxyz(6.3839, 5.4679, 14.3519)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D6A #676A3D
analogous
#3D506A #403D6A #563D6A
triadic
#403D6A #6A403D #3D6A40
tetradic
#403D6A #6A3D50 #676A3D #3D6A56
square
#403D6A #6A3D50 #676A3D #3D6A56
split-complementary
#403D6A #6A563D #506A3D
monochromatic
#11101C #292743 #403D6A #575391 #7773AE

Accessibility & contrast

On white

10.03
#403D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D6A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D6A#FFFFFF#000000##FFFFFF
##403D6A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E436C
Deuteranopia (green-blind)
#2D4169
Tritanopia (blue-blind)
#35464E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403d6a;
/* rgb */ color: rgb(64, 61, 106);
/* oklch */ color: oklch(38.5% 0.075 285.3);
Tailwind
colors: {
  custom: {
    50: '#777295',
    500: '#403d6a',
    950: '#000000',
  },
}
SCSS
$custom: #403d6a;
$custom-light: #777295;
$custom-dark: #000000;
JSON
{
  "hex": "#403d6a",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 106
  },
  "hsl": {
    "h": 244,
    "s": 26.946,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38479,
    "c": 0.07539,
    "h": 285.3
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#403D6A
secondary
#96996A
accent
#C365BD
background
#F7F6F9
surface
#EDECF1
border
#C8C7CB
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #403D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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