#403FA0#403FA0

#403FA0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.153 H 278.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#403FA0
RGBrgb(64, 63, 160)
HSLhsl(241, 43%, 44%)
HSVhsv(241, 61%, 63%)
CMYKcmyk(60%, 60.6%, 0%, 37.3%)
CIE-LABlab(32.22, 30.04, -52.68)
CIE-LCHlch(32.22, 60.64, 299.69°)
OKLaboklab(42.79% 0.0219 -0.1514)
OKLCHoklch(42.79% 0.153 278.2)
XYZxyz(10.2350, 7.1823, 34.0979)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FA0 #9FA03F
analogous
#3F6EA0 #403FA0 #703FA0
triadic
#403FA0 #A0403F #3FA040
tetradic
#403FA0 #A03F6E #9FA03F #3FA070
square
#403FA0 #A03F6E #9FA03F #3FA070
split-complementary
#403FA0 #A0703F #6EA03F
monochromatic
#1D1C48 #2E2E74 #403FA0 #5E5DBF #8A89D0

Accessibility & contrast

On white

8.62
#403FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#403FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FA0
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FA0#FFFFFF#000000##FFFFFF
##403FA01.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #403fa0;
/* rgb */ color: rgb(64, 63, 160);
/* oklch */ color: oklch(42.8% 0.153 278.2);
Tailwind
colors: {
  custom: {
    50: '#7f74bd',
    500: '#403fa0',
    950: '#000000',
  },
}
SCSS
$custom: #403fa0;
$custom-light: #7f74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#403fa0",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 240.619,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.15295,
    "h": 278.2
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#403FA0
secondary
#BBBB80
accent
#D355D2
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #403FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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