#403194#403194

#403194 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.155 H 283.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#403194
RGBrgb(64, 49, 148)
HSLhsl(249, 50%, 39%)
HSVhsv(249, 67%, 58%)
CMYKcmyk(56.8%, 66.9%, 0%, 42%)
CIE-LABlab(27.91, 34.82, -52.39)
CIE-LCHlch(27.91, 62.90, 303.61°)
OKLaboklab(39.33% 0.0364 -0.1506)
OKLCHoklch(39.33% 0.155 283.6)
XYZxyz(8.5563, 5.4242, 28.6073)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403194 #859431
analogous
#315394 #403194 #713194
triadic
#403194 #944031 #319440
tetradic
#403194 #943153 #859431 #319471
square
#403194 #943153 #859431 #319471
split-complementary
#403194 #947131 #539431
monochromatic
#181338 #2C2266 #403194 #5542C0 #7E70D0

Accessibility & contrast

On white

10.07
#403194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#403194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403194
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403194#FFFFFF#000000##FFFFFF
##4031941.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.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: #403194;
/* rgb */ color: rgb(64, 49, 148);
/* oklch */ color: oklch(39.3% 0.155 283.6);
Tailwind
colors: {
  custom: {
    50: '#7e6ab4',
    500: '#403194',
    950: '#000000',
  },
}
SCSS
$custom: #403194;
$custom-light: #7e6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#403194",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 249.091,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.15491,
    "h": 283.6
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#403194
secondary
#ACB769
accent
#DA4EC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #403194

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

Preview Lab → · Contrast checker → · Palette generator →

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