#393388#393388

#393388 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.137 H 280.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#393388
RGBrgb(57, 51, 136)
HSLhsl(244, 45%, 37%)
HSVhsv(244, 63%, 53%)
CMYKcmyk(58.1%, 62.5%, 0%, 46.7%)
CIE-LABlab(26.78, 28.29, -46.84)
CIE-LCHlch(26.78, 54.72, 301.13°)
OKLaboklab(38.04% 0.0258 -0.1345)
OKLCHoklch(38.04% 0.137 280.8)
XYZxyz(7.3137, 5.0146, 23.8703)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393388 #828833
analogous
#335888 #393388 #643388
triadic
#393388 #883933 #338839
tetradic
#393388 #883358 #828833 #338864
square
#393388 #883358 #828833 #338864
split-complementary
#393388 #886433 #588833
monochromatic
#14122F #26225B #393388 #4C44B5 #746DC8

Accessibility & contrast

On white

10.48
#393388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#393388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393388
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393388#FFFFFF#000000##FFFFFF
##3933881.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#0F4858
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #393388;
/* rgb */ color: rgb(57, 51, 136);
/* oklch */ color: oklch(38.0% 0.137 280.8);
Tailwind
colors: {
  custom: {
    50: '#786bab',
    500: '#393388',
    950: '#000000',
  },
}
SCSS
$custom: #393388;
$custom-light: #786bab;
$custom-dark: #000000;
JSON
{
  "hex": "#393388",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 244.235,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38043,
    "c": 0.13695,
    "h": 280.8
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#393388
secondary
#ABB067
accent
#D553CC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #393388

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

Preview Lab → · Contrast checker → · Palette generator →

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