#393374#393374

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

Color values

HEX#393374
RGBrgb(57, 51, 116)
HSLhsl(246, 39%, 33%)
HSVhsv(246, 56%, 45%)
CMYKcmyk(50.9%, 56%, 0%, 54.5%)
CIE-LABlab(25.25, 21.51, -36.71)
CIE-LCHlch(25.25, 42.55, 300.37°)
OKLaboklab(36.44% 0.0258 -0.1047)
OKLCHoklch(36.44% 0.108 283.8)
XYZxyz(6.0226, 4.4982, 17.0705)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393374 #6E7433
analogous
#334E74 #393374 #593374
triadic
#393374 #743933 #337439
tetradic
#393374 #74334E #6E7433 #337459
square
#393374 #74334E #6E7433 #337459
split-complementary
#393374 #745933 #4E7433
monochromatic
#0F0E1F #242049 #393374 #4E469F #6E66BC

Accessibility & contrast

On white

11.05
#393374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393374
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393374#FFFFFF#000000##FFFFFF
##3933741.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103E76
Deuteranopia (green-blind)
#0C3A73
Tritanopia (blue-blind)
#24414E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #393374;
/* rgb */ color: rgb(57, 51, 116);
/* oklch */ color: oklch(36.4% 0.108 283.8);
Tailwind
colors: {
  custom: {
    50: '#746a9c',
    500: '#393374',
    950: '#000000',
  },
}
SCSS
$custom: #393374;
$custom-light: #746a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#393374",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 245.538,
    "s": 38.922,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36435,
    "c": 0.10784,
    "h": 283.8
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#393374
secondary
#9DA45F
accent
#CF59C4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #393374

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

Preview Lab → · Contrast checker → · Palette generator →

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