#403DA0#403DA0

#403DA0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.156 H 278.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#403DA0
RGBrgb(64, 61, 160)
HSLhsl(242, 45%, 43%)
HSVhsv(242, 62%, 63%)
CMYKcmyk(60%, 61.9%, 0%, 37.3%)
CIE-LABlab(31.73, 31.31, -53.48)
CIE-LCHlch(31.73, 61.97, 300.35°)
OKLaboklab(42.43% 0.0238 -0.1537)
OKLCHoklch(42.43% 0.156 278.8)
XYZxyz(10.1262, 6.9648, 34.0616)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DA0 #9DA03D
analogous
#3D6BA0 #403DA0 #713DA0
triadic
#403DA0 #A0403D #3DA040
tetradic
#403DA0 #A03D6B #9DA03D #3DA071
square
#403DA0 #A03D6B #9DA03D #3DA071
split-complementary
#403DA0 #A0713D #6BA03D
monochromatic
#1D1B47 #2E2C74 #403DA0 #5D5AC0 #8986D1

Accessibility & contrast

On white

8.77
#403DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#403DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DA0
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DA0#FFFFFF#000000##FFFFFF
##403DA01.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #403da0;
/* rgb */ color: rgb(64, 61, 160);
/* oklch */ color: oklch(42.4% 0.156 278.8);
Tailwind
colors: {
  custom: {
    50: '#7f73bd',
    500: '#403da0',
    950: '#000000',
  },
}
SCSS
$custom: #403da0;
$custom-light: #7f73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#403da0",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 241.818,
    "s": 44.796,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42427,
    "c": 0.15557,
    "h": 278.8
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#403DA0
secondary
#B9BB7D
accent
#D453D1
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #403DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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