#403AB0#403AB0

#403AB0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.181 H 278.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#403AB0
RGBrgb(64, 58, 176)
HSLhsl(243, 50%, 46%)
HSVhsv(243, 67%, 69%)
CMYKcmyk(63.6%, 67%, 0%, 31%)
CIE-LABlab(32.37, 38.54, -62.03)
CIE-LCHlch(32.37, 73.03, 301.85°)
OKLaboklab(43.31% 0.0251 -0.1789)
OKLCHoklch(43.31% 0.181 278)
XYZxyz(11.4614, 7.2498, 41.8612)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AB0 #AAB03A
analogous
#3A6FB0 #403AB0 #7B3AB0
triadic
#403AB0 #B0403A #3AB040
tetradic
#403AB0 #B03A6F #AAB03A #3AB07B
square
#403AB0 #B03A6F #AAB03A #3AB07B
split-complementary
#403AB0 #B07B3A #6FB03A
monochromatic
#1F1C54 #2F2B82 #403AB0 #635DCA #8F8BD9

Accessibility & contrast

On white

8.57
#403AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#403AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AB0
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AB0#FFFFFF#000000##FFFFFF
##403AB01.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #403ab0;
/* rgb */ color: rgb(64, 58, 176);
/* oklch */ color: oklch(43.3% 0.181 278.0);
Tailwind
colors: {
  custom: {
    50: '#8271c9',
    500: '#403ab0',
    950: '#000000',
  },
}
SCSS
$custom: #403ab0;
$custom-light: #8271c9;
$custom-dark: #000000;
JSON
{
  "hex": "#403ab0",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 243.051,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.18061,
    "h": 278
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#403AB0
secondary
#C0C382
accent
#DA4ED3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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