#403ABA#403ABA

#403ABA is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.2% C 0.193 H 277.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#403ABA
RGBrgb(64, 58, 186)
HSLhsl(243, 52%, 48%)
HSVhsv(243, 69%, 73%)
CMYKcmyk(65.6%, 68.8%, 0%, 27.1%)
CIE-LABlab(33.26, 41.84, -66.49)
CIE-LCHlch(33.26, 78.56, 302.18°)
OKLaboklab(44.23% 0.0237 -0.1919)
OKLCHoklch(44.23% 0.193 277.1)
XYZxyz(12.4875, 7.6602, 47.2654)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403ABA #B4BA3A
analogous
#3A74BA #403ABA #803ABA
triadic
#403ABA #BA403A #3ABA40
tetradic
#403ABA #BA3A74 #B4BA3A #3ABA80
square
#403ABA #BA3A74 #B4BA3A #3ABA80
split-complementary
#403ABA #BA803A #74BA3A
monochromatic
#201D5D #302B8B #403ABA #6863CE #9592DD

Accessibility & contrast

On white

8.29
#403ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#403ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403ABA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403ABA#FFFFFF#000000##FFFFFF
##403ABA1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #403aba;
/* rgb */ color: rgb(64, 58, 186);
/* oklch */ color: oklch(44.2% 0.193 277.1);
Tailwind
colors: {
  custom: {
    50: '#8471d0',
    500: '#403aba',
    950: '#000000',
  },
}
SCSS
$custom: #403aba;
$custom-light: #8471d0;
$custom-dark: #000000;
JSON
{
  "hex": "#403aba",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 242.813,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44234,
    "c": 0.19339,
    "h": 277.1
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#403ABA
secondary
#C5C888
accent
#DC4CD5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #403ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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