#403294#403294

#403294 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.154 H 283.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#403294
RGBrgb(64, 50, 148)
HSLhsl(249, 49%, 39%)
HSVhsv(249, 66%, 58%)
CMYKcmyk(56.8%, 66.2%, 0%, 42%)
CIE-LABlab(28.14, 34.21, -52.02)
CIE-LCHlch(28.14, 62.26, 303.33°)
OKLaboklab(39.5% 0.0354 -0.1495)
OKLCHoklch(39.5% 0.154 283.3)
XYZxyz(8.5986, 5.5088, 28.6214)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403294 #869432
analogous
#325594 #403294 #713294
triadic
#403294 #944032 #329440
tetradic
#403294 #943255 #869432 #329471
square
#403294 #943255 #869432 #329471
split-complementary
#403294 #947132 #559432
monochromatic
#181339 #2C2366 #403294 #5544C0 #7F71CF

Accessibility & contrast

On white

9.99
#403294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403294
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403294#FFFFFF#000000##FFFFFF
##4032941.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#184A5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403294;
/* rgb */ color: rgb(64, 50, 148);
/* oklch */ color: oklch(39.5% 0.154 283.3);
Tailwind
colors: {
  custom: {
    50: '#7e6bb4',
    500: '#403294',
    950: '#000000',
  },
}
SCSS
$custom: #403294;
$custom-light: #7e6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#403294",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 248.571,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.15362,
    "h": 283.3
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403294

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

Preview Lab → · Contrast checker → · Palette generator →

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