#403F90#403F90

#403F90 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.130 H 279.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#403F90
RGBrgb(64, 63, 144)
HSLhsl(241, 39%, 41%)
HSVhsv(241, 56%, 56%)
CMYKcmyk(55.6%, 56.3%, 0%, 43.5%)
CIE-LABlab(31.02, 24.60, -44.89)
CIE-LCHlch(31.02, 51.19, 298.73°)
OKLaboklab(41.52% 0.0218 -0.1285)
OKLCHoklch(41.52% 0.13 279.6)
XYZxyz(8.9243, 6.6581, 27.1950)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F90 #8F903F
analogous
#3F6690 #403F90 #683F90
triadic
#403F90 #90403F #3F9040
tetradic
#403F90 #903F66 #8F903F #3F9068
square
#403F90 #903F66 #8F903F #3F9068
split-complementary
#403F90 #90683F #66903F
monochromatic
#1A1A3B #2D2C65 #403F90 #5857B5 #8281C8

Accessibility & contrast

On white

9.01
#403F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#403F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F90
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F90#FFFFFF#000000##FFFFFF
##403F901.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C93
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#1B5261
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #403f90;
/* rgb */ color: rgb(64, 63, 144);
/* oklch */ color: oklch(41.5% 0.130 279.6);
Tailwind
colors: {
  custom: {
    50: '#7c74b1',
    500: '#403f90',
    950: '#000000',
  },
}
SCSS
$custom: #403f90;
$custom-light: #7c74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#403f90",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 240.741,
    "s": 39.13,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41516,
    "c": 0.13031,
    "h": 279.6
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#403F90
secondary
#B2B278
accent
#CF59CE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #403F90

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

Preview Lab → · Contrast checker → · Palette generator →

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