#393682#393682

#393682 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.124 H 280.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#393682
RGBrgb(57, 54, 130)
HSLhsl(242, 41%, 36%)
HSVhsv(242, 58%, 51%)
CMYKcmyk(56.2%, 58.5%, 0%, 49%)
CIE-LABlab(27.07, 24.27, -42.62)
CIE-LCHlch(27.07, 49.04, 299.66°)
OKLaboklab(38.11% 0.0226 -0.1221)
OKLCHoklch(38.11% 0.124 280.5)
XYZxyz(7.0345, 5.1195, 21.7322)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393682 #7F8236
analogous
#365982 #393682 #5F3682
triadic
#393682 #823936 #368239
tetradic
#393682 #823659 #7F8236 #36825F
square
#393682 #823659 #7F8236 #36825F
split-complementary
#393682 #825F36 #598236
monochromatic
#13122C #262457 #393682 #4C48AD #726FC3

Accessibility & contrast

On white

10.38
#393682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#393682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393682
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393682#FFFFFF#000000##FFFFFF
##3936821.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#174856
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #393682;
/* rgb */ color: rgb(57, 54, 130);
/* oklch */ color: oklch(38.1% 0.124 280.5);
Tailwind
colors: {
  custom: {
    50: '#766da7',
    500: '#393682',
    950: '#000000',
  },
}
SCSS
$custom: #393682;
$custom-light: #766da7;
$custom-dark: #000000;
JSON
{
  "hex": "#393682",
  "rgb": {
    "r": 57,
    "g": 54,
    "b": 130
  },
  "hsl": {
    "h": 242.368,
    "s": 41.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38114,
    "c": 0.12414,
    "h": 280.5
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#393682
secondary
#A9AC68
accent
#D157CC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #393682

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

Preview Lab → · Contrast checker → · Palette generator →

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