#403C93#403C93

#403C93 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.139 H 280.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#403C93
RGBrgb(64, 60, 147)
HSLhsl(243, 42%, 41%)
HSVhsv(243, 59%, 58%)
CMYKcmyk(56.5%, 59.2%, 0%, 42.4%)
CIE-LABlab(30.47, 27.57, -47.62)
CIE-LCHlch(30.47, 55.02, 300.07°)
OKLaboklab(41.18% 0.0252 -0.1365)
OKLCHoklch(41.18% 0.139 280.4)
XYZxyz(8.9950, 6.4277, 28.3648)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C93 #8F933C
analogous
#3C6393 #403C93 #6B3C93
triadic
#403C93 #93403C #3C9340
tetradic
#403C93 #933C63 #8F933C #3C936B
square
#403C93 #933C63 #8F933C #3C936B
split-complementary
#403C93 #936B3C #63933C
monochromatic
#1A193C #2D2A68 #403C93 #5853B9 #827FCB

Accessibility & contrast

On white

9.19
#403C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#403C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C93
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C93#FFFFFF#000000##FFFFFF
##403C931.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#175061
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403c93;
/* rgb */ color: rgb(64, 60, 147);
/* oklch */ color: oklch(41.2% 0.139 280.4);
Tailwind
colors: {
  custom: {
    50: '#7d72b3',
    500: '#403c93',
    950: '#000000',
  },
}
SCSS
$custom: #403c93;
$custom-light: #7d72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#403c93",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 147
  },
  "hsl": {
    "h": 242.759,
    "s": 42.029,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41179,
    "c": 0.13881,
    "h": 280.4
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#403C93
secondary
#B2B476
accent
#D256CC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #403C93

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

Preview Lab → · Contrast checker → · Palette generator →

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