#393178#393178

#393178 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.4% C 0.117 H 284.1°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#393178
RGBrgb(57, 49, 120)
HSLhsl(247, 42%, 33%)
HSVhsv(247, 59%, 47%)
CMYKcmyk(52.5%, 59.2%, 0%, 52.9%)
CIE-LABlab(25.02, 24.19, -39.63)
CIE-LCHlch(25.02, 46.43, 301.39°)
OKLaboklab(36.35% 0.0284 -0.1133)
OKLCHoklch(36.35% 0.117 284.1)
XYZxyz(6.1748, 4.4222, 18.2939)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393178 #707831
analogous
#314C78 #393178 #5C3178
triadic
#393178 #783931 #317839
tetradic
#393178 #78314C #707831 #31785C
square
#393178 #78314C #707831 #31785C
split-complementary
#393178 #785C31 #4C7831
monochromatic
#100E21 #241F4D #393178 #4E43A3 #6E64C0

Accessibility & contrast

On white

11.14
#393178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#393178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393178
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393178#FFFFFF#000000##FFFFFF
##3931781.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7A
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#21414F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #393178;
/* rgb */ color: rgb(57, 49, 120);
/* oklch */ color: oklch(36.4% 0.117 284.1);
Tailwind
colors: {
  custom: {
    50: '#75699f',
    500: '#393178',
    950: '#000000',
  },
}
SCSS
$custom: #393178;
$custom-light: #75699f;
$custom-dark: #000000;
JSON
{
  "hex": "#393178",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 246.761,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36354,
    "c": 0.11681,
    "h": 284.1
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#393178
secondary
#9FA75E
accent
#D256C4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #393178

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

Preview Lab → · Contrast checker → · Palette generator →

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