#393979#393979

#393979 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.0% C 0.106 H 280.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#393979
RGBrgb(57, 57, 121)
HSLhsl(240, 36%, 35%)
HSVhsv(240, 53%, 47%)
CMYKcmyk(52.9%, 52.9%, 0%, 52.5%)
CIE-LABlab(27.23, 19.18, -36.71)
CIE-LCHlch(27.23, 41.42, 297.59°)
OKLaboklab(38.03% 0.0186 -0.1046)
OKLCHoklch(38.03% 0.106 280.1)
XYZxyz(6.6006, 5.1762, 18.7368)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393979 #797939
analogous
#395979 #393979 #593979
triadic
#393979 #793939 #397939
tetradic
#393979 #793959 #797939 #397959
square
#393979 #793959 #797939 #397959
split-complementary
#393979 #795939 #597939
monochromatic
#121226 #25254F #393979 #4D4DA3 #7171BC

Accessibility & contrast

On white

10.32
#393979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#393979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393979
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393979#FFFFFF#000000##FFFFFF
##3939791.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#133E78
Tritanopia (blue-blind)
#1F4753
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #393979;
/* rgb */ color: rgb(57, 57, 121);
/* oklch */ color: oklch(38.0% 0.106 280.1);
Tailwind
colors: {
  custom: {
    50: '#746fa0',
    500: '#393979',
    950: '#000000',
  },
}
SCSS
$custom: #393979;
$custom-light: #746fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#393979",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38026,
    "c": 0.10629,
    "h": 280.1
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#393979
secondary
#A5A569
accent
#CC5CCC
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #393979

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

Preview Lab → · Contrast checker → · Palette generator →

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