#393294#393294

#393294 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.155 H 279.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#393294
RGBrgb(57, 50, 148)
HSLhsl(244, 49%, 39%)
HSVhsv(244, 66%, 58%)
CMYKcmyk(61.5%, 66.2%, 0%, 42%)
CIE-LABlab(27.54, 33.00, -53.02)
CIE-LCHlch(27.54, 62.45, 301.90°)
OKLaboklab(38.92% 0.0258 -0.1526)
OKLCHoklch(38.92% 0.155 279.6)
XYZxyz(8.1715, 5.2886, 28.6014)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393294 #8D9432
analogous
#325C94 #393294 #6A3294
triadic
#393294 #943932 #329439
tetradic
#393294 #94325C #8D9432 #32946A
square
#393294 #94325C #8D9432 #32946A
split-complementary
#393294 #946A32 #5C9432
monochromatic
#161339 #272366 #393294 #4C44C0 #7871CF

Accessibility & contrast

On white

10.21
#393294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#393294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393294
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393294#FFFFFF#000000##FFFFFF
##3932941.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393294;
/* rgb */ color: rgb(57, 50, 148);
/* oklch */ color: oklch(38.9% 0.155 279.6);
Tailwind
colors: {
  custom: {
    50: '#7a6ab4',
    500: '#393294',
    950: '#000000',
  },
}
SCSS
$custom: #393294;
$custom-light: #7a6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#393294",
  "rgb": {
    "r": 57,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 244.286,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.15481,
    "h": 279.6
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#393294
secondary
#B2B76B
accent
#D94FCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #393294

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

Preview Lab → · Contrast checker → · Palette generator →

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