#393779#393779

#393779 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.109 H 281.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#393779
RGBrgb(57, 55, 121)
HSLhsl(242, 38%, 35%)
HSVhsv(242, 55%, 47%)
CMYKcmyk(52.9%, 54.5%, 0%, 52.5%)
CIE-LABlab(26.68, 20.52, -37.59)
CIE-LCHlch(26.68, 42.82, 298.64°)
OKLaboklab(37.62% 0.0211 -0.1072)
OKLCHoklch(37.62% 0.109 281.1)
XYZxyz(6.5037, 4.9823, 18.7044)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393779 #777937
analogous
#375679 #393779 #5A3779
triadic
#393779 #793937 #377939
tetradic
#393779 #793756 #777937 #37795A
square
#393779 #793756 #777937 #37795A
split-complementary
#393779 #795A37 #567937
monochromatic
#111125 #25244F #393779 #4D4AA3 #706EBD

Accessibility & contrast

On white

10.52
#393779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393779
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393779#FFFFFF#000000##FFFFFF
##3937791.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427B
Deuteranopia (green-blind)
#0E3D78
Tritanopia (blue-blind)
#204652
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #393779;
/* rgb */ color: rgb(57, 55, 121);
/* oklch */ color: oklch(37.6% 0.109 281.1);
Tailwind
colors: {
  custom: {
    50: '#756da0',
    500: '#393779',
    950: '#000000',
  },
}
SCSS
$custom: #393779;
$custom-light: #756da0;
$custom-dark: #000000;
JSON
{
  "hex": "#393779",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 241.818,
    "s": 37.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37616,
    "c": 0.10931,
    "h": 281.1
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#393779
secondary
#A4A666
accent
#CD5ACA
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #393779

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

Preview Lab → · Contrast checker → · Palette generator →

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