#393080#393080

#393080 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.130 H 283.1°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#393080
RGBrgb(57, 48, 128)
HSLhsl(247, 45%, 35%)
HSVhsv(247, 63%, 50%)
CMYKcmyk(55.5%, 62.5%, 0%, 49.8%)
CIE-LABlab(25.39, 27.53, -44.09)
CIE-LCHlch(25.39, 51.98, 301.97°)
OKLaboklab(36.82% 0.0294 -0.1264)
OKLCHoklch(36.82% 0.13 283.1)
XYZxyz(6.6394, 4.5419, 20.9447)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393080 #778030
analogous
#304F80 #393080 #613080
triadic
#393080 #803930 #308039
tetradic
#393080 #80304F #778030 #308061
square
#393080 #80304F #778030 #308061
split-complementary
#393080 #806130 #4F8030
monochromatic
#110F27 #251F53 #393080 #4D41AD #7065C5

Accessibility & contrast

On white

11.00
#393080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#393080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393080
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393080#FFFFFF#000000##FFFFFF
##3930801.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#1A4353
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #393080;
/* rgb */ color: rgb(57, 48, 128);
/* oklch */ color: oklch(36.8% 0.130 283.1);
Tailwind
colors: {
  custom: {
    50: '#7669a5',
    500: '#393080',
    950: '#000000',
  },
}
SCSS
$custom: #393080;
$custom-light: #7669a5;
$custom-dark: #000000;
JSON
{
  "hex": "#393080",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 128
  },
  "hsl": {
    "h": 246.75,
    "s": 45.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36821,
    "c": 0.12979,
    "h": 283.1
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#393080
secondary
#A4AC5F
accent
#D553C6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #393080

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

Preview Lab → · Contrast checker → · Palette generator →

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