#403B90#403B90

#403B90 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.136 H 281.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#403B90
RGBrgb(64, 59, 144)
HSLhsl(244, 42%, 40%)
HSVhsv(244, 59%, 56%)
CMYKcmyk(55.6%, 59%, 0%, 43.5%)
CIE-LABlab(29.99, 27.21, -46.55)
CIE-LCHlch(29.99, 53.92, 300.30°)
OKLaboklab(40.75% 0.0263 -0.1334)
OKLCHoklch(40.75% 0.136 281.1)
XYZxyz(8.7108, 6.2310, 27.1238)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B90 #8B903B
analogous
#3B6190 #403B90 #6A3B90
triadic
#403B90 #90403B #3B9040
tetradic
#403B90 #903B61 #8B903B #3B906A
square
#403B90 #903B61 #8B903B #3B906A
split-complementary
#403B90 #906A3B #61903B
monochromatic
#191739 #2D2965 #403B90 #5751B8 #817CC9

Accessibility & contrast

On white

9.35
#403B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#403B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B90
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B90#FFFFFF#000000##FFFFFF
##403B901.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#1B4F5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #403b90;
/* rgb */ color: rgb(64, 59, 144);
/* oklch */ color: oklch(40.8% 0.136 281.1);
Tailwind
colors: {
  custom: {
    50: '#7c71b1',
    500: '#403b90',
    950: '#000000',
  },
}
SCSS
$custom: #403b90;
$custom-light: #7c71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#403b90",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 144
  },
  "hsl": {
    "h": 243.529,
    "s": 41.872,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.13594,
    "h": 281.1
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#403B90
secondary
#AFB374
accent
#D256CA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #403B90

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

Preview Lab → · Contrast checker → · Palette generator →

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