#393379#393379

#393379 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.8% C 0.115 H 283.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#393379
RGBrgb(57, 51, 121)
HSLhsl(245, 41%, 34%)
HSVhsv(245, 58%, 47%)
CMYKcmyk(52.9%, 57.9%, 0%, 52.5%)
CIE-LABlab(25.62, 23.20, -39.31)
CIE-LCHlch(25.62, 45.64, 300.55°)
OKLaboklab(36.82% 0.026 -0.1123)
OKLCHoklch(36.82% 0.115 283)
XYZxyz(6.3213, 4.6176, 18.6437)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393379 #737933
analogous
#335079 #393379 #5C3379
triadic
#393379 #793933 #337939
tetradic
#393379 #793350 #737933 #33795C
square
#393379 #793350 #737933 #33795C
split-complementary
#393379 #795C33 #507933
monochromatic
#100F23 #25214E #393379 #4D45A4 #6F67BF

Accessibility & contrast

On white

10.92
#393379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#393379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393379
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393379#FFFFFF#000000##FFFFFF
##3933791.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063F7B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#204350
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #393379;
/* rgb */ color: rgb(57, 51, 121);
/* oklch */ color: oklch(36.8% 0.115 283.0);
Tailwind
colors: {
  custom: {
    50: '#756ba0',
    500: '#393379',
    950: '#000000',
  },
}
SCSS
$custom: #393379;
$custom-light: #756ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#393379",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 245.143,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3682,
    "c": 0.1153,
    "h": 283
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#393379
secondary
#A1A761
accent
#D157C6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #393379

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

Preview Lab → · Contrast checker → · Palette generator →

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