#393071#393071

#393071 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.6% C 0.108 H 285.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#393071
RGBrgb(57, 48, 113)
HSLhsl(248, 40%, 32%)
HSVhsv(248, 58%, 44%)
CMYKcmyk(49.6%, 57.5%, 0%, 55.7%)
CIE-LABlab(24.24, 22.52, -36.43)
CIE-LCHlch(24.24, 42.82, 301.73°)
OKLaboklab(35.61% 0.0295 -0.1039)
OKLCHoklch(35.61% 0.108 285.9)
XYZxyz(5.7241, 4.1758, 16.1240)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393071 #687130
analogous
#304871 #393071 #5A3071
triadic
#393071 #713930 #307139
tetradic
#393071 #713048 #687130 #30715A
square
#393071 #713048 #687130 #30715A
split-complementary
#393071 #715A30 #487130
monochromatic
#0E0C1B #231E46 #393071 #4F429C #6D60BB

Accessibility & contrast

On white

11.44
#393071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#393071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393071
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393071#FFFFFF#000000##FFFFFF
##3930711.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B73
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#263E4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #393071;
/* rgb */ color: rgb(57, 48, 113);
/* oklch */ color: oklch(35.6% 0.108 285.9);
Tailwind
colors: {
  custom: {
    50: '#74689a',
    500: '#393071',
    950: '#000000',
  },
}
SCSS
$custom: #393071;
$custom-light: #74689a;
$custom-dark: #000000;
JSON
{
  "hex": "#393071",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 248.308,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35614,
    "c": 0.10799,
    "h": 285.9
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#393071
secondary
#98A25B
accent
#D058C0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #393071

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

Preview Lab → · Contrast checker → · Palette generator →

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