#393282#393282

#393282 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.130 H 282.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#393282
RGBrgb(57, 50, 130)
HSLhsl(245, 44%, 35%)
HSVhsv(245, 62%, 51%)
CMYKcmyk(56.2%, 61.5%, 0%, 49%)
CIE-LABlab(26.05, 26.90, -44.28)
CIE-LCHlch(26.05, 51.81, 301.28°)
OKLaboklab(37.36% 0.0271 -0.127)
OKLCHoklch(37.36% 0.13 282)
XYZxyz(6.8560, 4.7624, 21.6727)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393282 #7B8232
analogous
#325382 #393282 #613282
triadic
#393282 #823932 #328239
tetradic
#393282 #823253 #7B8232 #328261
square
#393282 #823253 #7B8232 #328261
split-complementary
#393282 #826132 #538232
monochromatic
#12102A #262156 #393282 #4C43AE #7169C5

Accessibility & contrast

On white

10.75
#393282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#393282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393282
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393282#FFFFFF#000000##FFFFFF
##3932821.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#184555
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #393282;
/* rgb */ color: rgb(57, 50, 130);
/* oklch */ color: oklch(37.4% 0.130 282.0);
Tailwind
colors: {
  custom: {
    50: '#776aa7',
    500: '#393282',
    950: '#000000',
  },
}
SCSS
$custom: #393282;
$custom-light: #776aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#393282",
  "rgb": {
    "r": 57,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 245.25,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37356,
    "c": 0.12983,
    "h": 282
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#393282
secondary
#A6AD63
accent
#D454C9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #393282

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

Preview Lab → · Contrast checker → · Palette generator →

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