#403E6A#403E6A

#403E6A is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.074 H 284.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#403E6A
RGBrgb(64, 62, 106)
HSLhsl(243, 26%, 33%)
HSVhsv(243, 42%, 42%)
CMYKcmyk(39.6%, 41.5%, 0%, 58.4%)
CIE-LABlab(28.32, 12.80, -25.42)
CIE-LCHlch(28.32, 28.46, 296.73°)
OKLaboklab(38.7% 0.0184 -0.0714)
OKLCHoklch(38.7% 0.074 284.5)
XYZxyz(6.4378, 5.5756, 14.3699)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E6A #686A3E
analogous
#3E526A #403E6A #563E6A
triadic
#403E6A #6A403E #3E6A40
tetradic
#403E6A #6A3E52 #686A3E #3E6A56
square
#403E6A #6A3E52 #686A3E #3E6A56
split-complementary
#403E6A #6A563E #526A3E
monochromatic
#11111D #292743 #403E6A #575591 #7774AE

Accessibility & contrast

On white

9.93
#403E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#403E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E6A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E6A#FFFFFF#000000##FFFFFF
##403E6A1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446C
Deuteranopia (green-blind)
#2E4169
Tritanopia (blue-blind)
#34464F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #403e6a;
/* rgb */ color: rgb(64, 62, 106);
/* oklch */ color: oklch(38.7% 0.074 284.5);
Tailwind
colors: {
  custom: {
    50: '#777395',
    500: '#403e6a',
    950: '#000000',
  },
}
SCSS
$custom: #403e6a;
$custom-light: #777395;
$custom-dark: #000000;
JSON
{
  "hex": "#403e6a",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 106
  },
  "hsl": {
    "h": 242.727,
    "s": 26.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38698,
    "c": 0.07373,
    "h": 284.5
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#403E6A
secondary
#97996B
accent
#C365BE
background
#F7F6F9
surface
#EDECF1
border
#C8C7CB
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #403E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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