#403D93#403D93

#403D93 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.137 H 280.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#403D93
RGBrgb(64, 61, 147)
HSLhsl(242, 41%, 41%)
HSVhsv(242, 59%, 58%)
CMYKcmyk(56.5%, 58.5%, 0%, 42.4%)
CIE-LABlab(30.72, 26.92, -47.21)
CIE-LCHlch(30.72, 54.34, 299.69°)
OKLaboklab(41.37% 0.0241 -0.1353)
OKLCHoklch(41.37% 0.137 280.1)
XYZxyz(9.0479, 6.5335, 28.3824)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D93 #90933D
analogous
#3D6593 #403D93 #6B3D93
triadic
#403D93 #93403D #3D9340
tetradic
#403D93 #933D65 #90933D #3D936B
square
#403D93 #933D65 #90933D #3D936B
split-complementary
#403D93 #936B3D #65933D
monochromatic
#1A193C #2D2B68 #403D93 #5855B8 #8380CA

Accessibility & contrast

On white

9.10
#403D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#403D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D93
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D93#FFFFFF#000000##FFFFFF
##403D931.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#175162
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403d93;
/* rgb */ color: rgb(64, 61, 147);
/* oklch */ color: oklch(41.4% 0.137 280.1);
Tailwind
colors: {
  custom: {
    50: '#7d72b3',
    500: '#403d93',
    950: '#000000',
  },
}
SCSS
$custom: #403d93;
$custom-light: #7d72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#403d93",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 242.093,
    "s": 41.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41367,
    "c": 0.13742,
    "h": 280.1
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#403D93
secondary
#B2B477
accent
#D157CD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #403D93

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

Preview Lab → · Contrast checker → · Palette generator →

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