#403ABE#403ABE

#403ABE is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.6% C 0.198 H 276.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#403ABE
RGBrgb(64, 58, 190)
HSLhsl(243, 53%, 49%)
HSVhsv(243, 69%, 75%)
CMYKcmyk(66.3%, 69.5%, 0%, 25.5%)
CIE-LABlab(33.63, 43.15, -68.25)
CIE-LCHlch(33.63, 80.74, 302.30°)
OKLaboklab(44.61% 0.0232 -0.1971)
OKLCHoklch(44.61% 0.198 276.7)
XYZxyz(12.9186, 7.8327, 49.5363)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403ABE #B8BE3A
analogous
#3A76BE #403ABE #823ABE
triadic
#403ABE #BE403A #3ABE40
tetradic
#403ABE #BE3A76 #B8BE3A #3ABE82
square
#403ABE #BE3A76 #B8BE3A #3ABE82
split-complementary
#403ABE #BE823A #76BE3A
monochromatic
#201D60 #302C8F #403ABE #6A65D0 #9794DE

Accessibility & contrast

On white

8.18
#403ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#403ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403ABE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403ABE#FFFFFF#000000##FFFFFF
##403ABE1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#0049BC
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #403abe;
/* rgb */ color: rgb(64, 58, 190);
/* oklch */ color: oklch(44.6% 0.198 276.7);
Tailwind
colors: {
  custom: {
    50: '#8571d3',
    500: '#403abe',
    950: '#000000',
  },
}
SCSS
$custom: #403abe;
$custom-light: #8571d3;
$custom-dark: #000000;
JSON
{
  "hex": "#403abe",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 242.727,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4461,
    "c": 0.19842,
    "h": 276.7
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#403ABE
secondary
#C7CA8A
accent
#DD4BD6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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