#403293#403293

#403293 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.152 H 283.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#403293
RGBrgb(64, 50, 147)
HSLhsl(249, 49%, 39%)
HSVhsv(249, 66%, 58%)
CMYKcmyk(56.5%, 66%, 0%, 42.4%)
CIE-LABlab(28.05, 33.88, -51.54)
CIE-LCHlch(28.05, 61.68, 303.32°)
OKLaboklab(39.41% 0.0355 -0.1481)
OKLCHoklch(39.41% 0.152 283.5)
XYZxyz(8.5198, 5.4773, 28.2064)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403293 #859332
analogous
#325493 #403293 #703293
triadic
#403293 #934032 #329340
tetradic
#403293 #933254 #859332 #329370
square
#403293 #933254 #859332 #329370
split-complementary
#403293 #937032 #549332
monochromatic
#181338 #2C2265 #403293 #5543BF #7E71CF

Accessibility & contrast

On white

10.02
#403293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#403293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403293
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403293#FFFFFF#000000##FFFFFF
##4032931.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#194A5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403293;
/* rgb */ color: rgb(64, 50, 147);
/* oklch */ color: oklch(39.4% 0.152 283.5);
Tailwind
colors: {
  custom: {
    50: '#7d6bb3',
    500: '#403293',
    950: '#000000',
  },
}
SCSS
$custom: #403293;
$custom-light: #7d6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#403293",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 248.66,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39411,
    "c": 0.15229,
    "h": 283.5
  },
  "luminance": 0.05478
}

Semantic roles & 50–950 ramp

primary
#403293
secondary
#ACB76A
accent
#D94FC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #403293

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

Preview Lab → · Contrast checker → · Palette generator →

#403293 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva