#393373#393373

#393373 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.4% C 0.106 H 284.0°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#393373
RGBrgb(57, 51, 115)
HSLhsl(246, 39%, 33%)
HSVhsv(246, 56%, 45%)
CMYKcmyk(50.4%, 55.7%, 0%, 54.9%)
CIE-LABlab(25.18, 21.18, -36.19)
CIE-LCHlch(25.18, 41.93, 300.34°)
OKLaboklab(36.36% 0.0258 -0.1032)
OKLCHoklch(36.36% 0.106 284)
XYZxyz(5.9648, 4.4750, 16.7658)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393373 #6D7333
analogous
#334D73 #393373 #593373
triadic
#393373 #733933 #337339
tetradic
#393373 #73334D #6D7333 #337359
square
#393373 #73334D #6D7333 #337359
split-complementary
#393373 #735933 #4D7333
monochromatic
#0F0D1E #242049 #393373 #4E469D #6D65BB

Accessibility & contrast

On white

11.08
#393373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#393373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393373
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393373#FFFFFF#000000##FFFFFF
##3933731.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E75
Deuteranopia (green-blind)
#0E3A72
Tritanopia (blue-blind)
#25414D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #393373;
/* rgb */ color: rgb(57, 51, 115);
/* oklch */ color: oklch(36.4% 0.106 284.0);
Tailwind
colors: {
  custom: {
    50: '#746a9c',
    500: '#393373',
    950: '#000000',
  },
}
SCSS
$custom: #393373;
$custom-light: #746a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#393373",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 245.625,
    "s": 38.554,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36359,
    "c": 0.10634,
    "h": 284
  },
  "luminance": 0.04475
}

Semantic roles & 50–950 ramp

primary
#393373
secondary
#9DA35F
accent
#CE59C3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #393373

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

Preview Lab → · Contrast checker → · Palette generator →

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