#403BBD#403BBD

#403BBD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.7% C 0.196 H 276.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#403BBD
RGBrgb(64, 59, 189)
HSLhsl(242, 52%, 49%)
HSVhsv(242, 69%, 74%)
CMYKcmyk(66.1%, 68.8%, 0%, 25.9%)
CIE-LABlab(33.75, 42.23, -67.46)
CIE-LCHlch(33.75, 79.59, 302.05°)
OKLaboklab(44.67% 0.0226 -0.1947)
OKLCHoklch(44.67% 0.196 276.6)
XYZxyz(12.8606, 7.8909, 48.9796)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BBD #B8BD3B
analogous
#3B77BD #403BBD #813BBD
triadic
#403BBD #BD403B #3BBD40
tetradic
#403BBD #BD3B77 #B8BD3B #3BBD81
square
#403BBD #BD3B77 #B8BD3B #3BBD81
split-complementary
#403BBD #BD813B #77BD3B
monochromatic
#201E60 #302C8E #403BBD #6A66CF #9795DE

Accessibility & contrast

On white

8.14
#403BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#403BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BBD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BBD#FFFFFF#000000##FFFFFF
##403BBD1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #403bbd;
/* rgb */ color: rgb(64, 59, 189);
/* oklch */ color: oklch(44.7% 0.196 276.6);
Tailwind
colors: {
  custom: {
    50: '#8572d2',
    500: '#403bbd',
    950: '#000000',
  },
}
SCSS
$custom: #403bbd;
$custom-light: #8572d2;
$custom-dark: #000000;
JSON
{
  "hex": "#403bbd",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 242.308,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4467,
    "c": 0.19606,
    "h": 276.6
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#403BBD
secondary
#C7C98B
accent
#DC4CD6
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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