#403AA0#403AA0

#403AA0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.159 H 279.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#403AA0
RGBrgb(64, 58, 160)
HSLhsl(244, 47%, 43%)
HSVhsv(244, 64%, 63%)
CMYKcmyk(60%, 63.8%, 0%, 37.3%)
CIE-LABlab(31.00, 33.20, -54.66)
CIE-LCHlch(31.00, 63.95, 301.28°)
OKLaboklab(41.9% 0.0266 -0.1572)
OKLCHoklch(41.9% 0.159 279.6)
XYZxyz(9.9706, 6.6535, 34.0097)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AA0 #9AA03A
analogous
#3A67A0 #403AA0 #733AA0
triadic
#403AA0 #A0403A #3AA040
tetradic
#403AA0 #A03A67 #9AA03A #3AA073
square
#403AA0 #A03A67 #9AA03A #3AA073
split-complementary
#403AA0 #A0733A #67A03A
monochromatic
#1C1946 #2E2A73 #403AA0 #5C56C2 #8783D2

Accessibility & contrast

On white

9.01
#403AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#403AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AA0
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AA0#FFFFFF#000000##FFFFFF
##403AA01.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #403aa0;
/* rgb */ color: rgb(64, 58, 160);
/* oklch */ color: oklch(41.9% 0.159 279.6);
Tailwind
colors: {
  custom: {
    50: '#7f70bd',
    500: '#403aa0',
    950: '#000000',
  },
}
SCSS
$custom: #403aa0;
$custom-light: #7f70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#403aa0",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 243.529,
    "s": 46.789,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41897,
    "c": 0.15946,
    "h": 279.6
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#403AA0
secondary
#B8BC7A
accent
#D651CF
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #403AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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