#403BC0#403BC0

#403BC0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 45.0% C 0.200 H 276.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#403BC0
RGBrgb(64, 59, 192)
HSLhsl(242, 53%, 49%)
HSVhsv(242, 69%, 75%)
CMYKcmyk(66.7%, 69.3%, 0%, 24.7%)
CIE-LABlab(34.03, 43.22, -68.77)
CIE-LCHlch(34.03, 81.22, 302.15°)
OKLaboklab(44.95% 0.0222 -0.1986)
OKLCHoklch(44.95% 0.2 276.4)
XYZxyz(13.1896, 8.0225, 50.7124)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BC0 #BBC03B
analogous
#3B78C0 #403BC0 #833BC0
triadic
#403BC0 #C0403B #3BC040
tetradic
#403BC0 #C03B78 #BBC03B #3BC083
square
#403BC0 #C03B78 #BBC03B #3BC083
split-complementary
#403BC0 #C0833B #78C03B
monochromatic
#211E62 #302D91 #403BC0 #6C68D1 #9997DF

Accessibility & contrast

On white

8.06
#403BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#403BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BC0
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BC0#FFFFFF#000000##FFFFFF
##403BC01.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403bc0;
/* rgb */ color: rgb(64, 59, 192);
/* oklch */ color: oklch(45.0% 0.200 276.4);
Tailwind
colors: {
  custom: {
    50: '#8572d4',
    500: '#403bc0',
    950: '#000000',
  },
}
SCSS
$custom: #403bc0;
$custom-light: #8572d4;
$custom-dark: #000000;
JSON
{
  "hex": "#403bc0",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 192
  },
  "hsl": {
    "h": 242.256,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.19982,
    "h": 276.4
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#403BC0
secondary
#C8CA8C
accent
#DC4BD7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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