#403EA0#403EA0

#403EA0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.154 H 278.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#403EA0
RGBrgb(64, 62, 160)
HSLhsl(241, 44%, 44%)
HSVhsv(241, 61%, 63%)
CMYKcmyk(60%, 61.2%, 0%, 37.3%)
CIE-LABlab(31.97, 30.68, -53.08)
CIE-LCHlch(31.97, 61.31, 300.02°)
OKLaboklab(42.61% 0.0228 -0.1526)
OKLCHoklch(42.61% 0.154 278.5)
XYZxyz(10.1801, 7.0726, 34.0796)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403EA0 #9EA03E
analogous
#3E6DA0 #403EA0 #713EA0
triadic
#403EA0 #A0403E #3EA040
tetradic
#403EA0 #A03E6D #9EA03E #3EA071
square
#403EA0 #A03E6D #9EA03E #3EA071
split-complementary
#403EA0 #A0713E #6DA03E
monochromatic
#1D1C48 #2E2D74 #403EA0 #5E5CC0 #8988D1

Accessibility & contrast

On white

8.70
#403EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#403EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403EA0
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403EA0#FFFFFF#000000##FFFFFF
##403EA01.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403ea0;
/* rgb */ color: rgb(64, 62, 160);
/* oklch */ color: oklch(42.6% 0.154 278.5);
Tailwind
colors: {
  custom: {
    50: '#7f73bd',
    500: '#403ea0',
    950: '#000000',
  },
}
SCSS
$custom: #403ea0;
$custom-light: #7f73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#403ea0",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 241.224,
    "s": 44.144,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42607,
    "c": 0.15427,
    "h": 278.5
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#403EA0
secondary
#BABB7F
accent
#D454D1
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #403EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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