#403ABB#403ABB

#403ABB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.3% C 0.195 H 277.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#403ABB
RGBrgb(64, 58, 187)
HSLhsl(243, 53%, 48%)
HSVhsv(243, 69%, 73%)
CMYKcmyk(65.8%, 69%, 0%, 26.7%)
CIE-LABlab(33.36, 42.16, -66.93)
CIE-LCHlch(33.36, 79.11, 302.21°)
OKLaboklab(44.33% 0.0236 -0.1932)
OKLCHoklch(44.33% 0.195 277)
XYZxyz(12.5941, 7.7029, 47.8272)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403ABB #B5BB3A
analogous
#3A74BB #403ABB #813ABB
triadic
#403ABB #BB403A #3ABB40
tetradic
#403ABB #BB3A74 #B5BB3A #3ABB81
square
#403ABB #BB3A74 #B5BB3A #3ABB81
split-complementary
#403ABB #BB813A #74BB3A
monochromatic
#201D5E #302C8C #403ABB #6863CF #9692DD

Accessibility & contrast

On white

8.27
#403ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#403ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403ABB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403ABB#FFFFFF#000000##FFFFFF
##403ABB1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #403abb;
/* rgb */ color: rgb(64, 58, 187);
/* oklch */ color: oklch(44.3% 0.195 277.0);
Tailwind
colors: {
  custom: {
    50: '#8471d1',
    500: '#403abb',
    950: '#000000',
  },
}
SCSS
$custom: #403abb;
$custom-light: #8471d1;
$custom-dark: #000000;
JSON
{
  "hex": "#403abb",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 242.791,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44328,
    "c": 0.19465,
    "h": 277
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#403ABB
secondary
#C5C888
accent
#DC4CD5
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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