#393286#393286

#393286 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.136 H 281.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#393286
RGBrgb(57, 50, 134)
HSLhsl(245, 46%, 36%)
HSVhsv(245, 63%, 53%)
CMYKcmyk(57.5%, 62.7%, 0%, 47.5%)
CIE-LABlab(26.37, 28.26, -46.26)
CIE-LCHlch(26.37, 54.21, 301.42°)
OKLaboklab(37.69% 0.0269 -0.1328)
OKLCHoklch(37.69% 0.136 281.5)
XYZxyz(7.1297, 4.8718, 23.1143)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393286 #7F8632
analogous
#325586 #393286 #633286
triadic
#393286 #863932 #328639
tetradic
#393286 #863255 #7F8632 #328663
square
#393286 #863255 #7F8632 #328663
split-complementary
#393286 #866332 #558632
monochromatic
#13112D #262159 #393286 #4C43B3 #726BC8

Accessibility & contrast

On white

10.64
#393286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#393286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393286
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393286#FFFFFF#000000##FFFFFF
##3932861.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#134657
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #393286;
/* rgb */ color: rgb(57, 50, 134);
/* oklch */ color: oklch(37.7% 0.136 281.5);
Tailwind
colors: {
  custom: {
    50: '#776aaa',
    500: '#393286',
    950: '#000000',
  },
}
SCSS
$custom: #393286;
$custom-light: #776aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#393286",
  "rgb": {
    "r": 57,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 245,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37691,
    "c": 0.1355,
    "h": 281.5
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#393286
secondary
#A9AF64
accent
#D552CA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #393286

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

Preview Lab → · Contrast checker → · Palette generator →

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