#393378#393378

#393378 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.7% C 0.114 H 283.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#393378
RGBrgb(57, 51, 120)
HSLhsl(245, 40%, 34%)
HSVhsv(245, 58%, 47%)
CMYKcmyk(52.5%, 57.5%, 0%, 52.9%)
CIE-LABlab(25.54, 22.86, -38.79)
CIE-LCHlch(25.54, 45.03, 300.51°)
OKLaboklab(36.74% 0.026 -0.1108)
OKLCHoklch(36.74% 0.114 283.2)
XYZxyz(6.2603, 4.5932, 18.3224)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393378 #727833
analogous
#334F78 #393378 #5B3378
triadic
#393378 #783933 #337839
tetradic
#393378 #78334F #727833 #33785B
square
#393378 #78334F #727833 #33785B
split-complementary
#393378 #785B33 #4F7833
monochromatic
#100E22 #25214D #393378 #4D45A3 #6F67BE

Accessibility & contrast

On white

10.94
#393378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393378
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393378#FFFFFF#000000##FFFFFF
##3933781.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7A
Deuteranopia (green-blind)
#023A77
Tritanopia (blue-blind)
#214350
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #393378;
/* rgb */ color: rgb(57, 51, 120);
/* oklch */ color: oklch(36.7% 0.114 283.2);
Tailwind
colors: {
  custom: {
    50: '#756b9f',
    500: '#393378',
    950: '#000000',
  },
}
SCSS
$custom: #393378;
$custom-light: #756b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#393378",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 245.217,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36742,
    "c": 0.11382,
    "h": 283.2
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#393378
secondary
#A0A660
accent
#D058C6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #393378

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

Preview Lab → · Contrast checker → · Palette generator →

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