#403BA9#403BA9

#403BA9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.170 H 278.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#403BA9
RGBrgb(64, 59, 169)
HSLhsl(243, 48%, 45%)
HSVhsv(243, 65%, 66%)
CMYKcmyk(62.1%, 65.1%, 0%, 33.7%)
CIE-LABlab(31.99, 35.59, -58.47)
CIE-LCHlch(31.99, 68.45, 301.33°)
OKLaboklab(42.85% 0.025 -0.1684)
OKLCHoklch(42.85% 0.17 278.4)
XYZxyz(10.8375, 7.0817, 38.3242)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BA9 #A4A93B
analogous
#3B6DA9 #403BA9 #773BA9
triadic
#403BA9 #A9403B #3BA940
tetradic
#403BA9 #A93B6D #A4A93B #3BA977
square
#403BA9 #A93B6D #A4A93B #3BA977
split-complementary
#403BA9 #A9773B #6DA93B
monochromatic
#1E1B4E #2F2B7C #403BA9 #605BC6 #8C89D6

Accessibility & contrast

On white

8.69
#403BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#403BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BA9
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BA9#FFFFFF#000000##FFFFFF
##403BA91.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #403ba9;
/* rgb */ color: rgb(64, 59, 169);
/* oklch */ color: oklch(42.9% 0.170 278.4);
Tailwind
colors: {
  custom: {
    50: '#8171c3',
    500: '#403ba9',
    950: '#000000',
  },
}
SCSS
$custom: #403ba9;
$custom-light: #8171c3;
$custom-dark: #000000;
JSON
{
  "hex": "#403ba9",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 242.727,
    "s": 48.246,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42852,
    "c": 0.17023,
    "h": 278.4
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#403BA9
secondary
#BDC080
accent
#D850D2
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #403BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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