#393390#393390

#393390 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.148 H 279.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#393390
RGBrgb(57, 51, 144)
HSLhsl(244, 48%, 38%)
HSVhsv(244, 65%, 56%)
CMYKcmyk(60.4%, 64.6%, 0%, 43.5%)
CIE-LABlab(27.44, 31.01, -50.72)
CIE-LCHlch(27.44, 59.45, 301.44°)
OKLaboklab(38.73% 0.0253 -0.1459)
OKLCHoklch(38.73% 0.148 279.8)
XYZxyz(7.9036, 5.2506, 26.9771)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393390 #8A9033
analogous
#335B90 #393390 #673390
triadic
#393390 #903933 #339039
tetradic
#393390 #90335B #8A9033 #339067
square
#393390 #90335B #8A9033 #339067
split-complementary
#393390 #906733 #5B9033
monochromatic
#151336 #272363 #393390 #4B44BD #7771CD

Accessibility & contrast

On white

10.24
#393390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#393390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393390
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393390#FFFFFF#000000##FFFFFF
##3933901.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393390;
/* rgb */ color: rgb(57, 51, 144);
/* oklch */ color: oklch(38.7% 0.148 279.8);
Tailwind
colors: {
  custom: {
    50: '#796bb1',
    500: '#393390',
    950: '#000000',
  },
}
SCSS
$custom: #393390;
$custom-light: #796bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#393390",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 243.871,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38734,
    "c": 0.14808,
    "h": 279.8
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#393390
secondary
#B0B56A
accent
#D751CF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #393390

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

Preview Lab → · Contrast checker → · Palette generator →

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