#393091#393091

#393091 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.153 H 280.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#393091
RGBrgb(57, 48, 145)
HSLhsl(246, 50%, 38%)
HSVhsv(246, 67%, 57%)
CMYKcmyk(60.7%, 66.9%, 0%, 43.1%)
CIE-LABlab(26.81, 33.24, -52.36)
CIE-LCHlch(26.81, 62.02, 302.41°)
OKLaboklab(38.31% 0.0279 -0.1507)
OKLCHoklch(38.31% 0.153 280.5)
XYZxyz(7.8535, 5.0275, 27.3391)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393091 #889130
analogous
#305791 #393091 #693091
triadic
#393091 #913930 #309139
tetradic
#393091 #913057 #889130 #309169
square
#393091 #913057 #889130 #309169
split-complementary
#393091 #916930 #579130
monochromatic
#151235 #272163 #393091 #4B3FBF #766DCF

Accessibility & contrast

On white

10.47
#393091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#393091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393091
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393091#FFFFFF#000000##FFFFFF
##3930911.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #393091;
/* rgb */ color: rgb(57, 48, 145);
/* oklch */ color: oklch(38.3% 0.153 280.5);
Tailwind
colors: {
  custom: {
    50: '#7969b2',
    500: '#393091',
    950: '#000000',
  },
}
SCSS
$custom: #393091;
$custom-light: #7969b2;
$custom-dark: #000000;
JSON
{
  "hex": "#393091",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 245.567,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38306,
    "c": 0.15329,
    "h": 280.5
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#393091
secondary
#AFB667
accent
#DA4ECD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #393091

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

Preview Lab → · Contrast checker → · Palette generator →

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