#393480#393480

#393480 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.124 H 281.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#393480
RGBrgb(57, 52, 128)
HSLhsl(244, 42%, 35%)
HSVhsv(244, 59%, 50%)
CMYKcmyk(55.5%, 59.4%, 0%, 49.8%)
CIE-LABlab(26.40, 24.91, -42.45)
CIE-LCHlch(26.40, 49.22, 300.40°)
OKLaboklab(37.57% 0.0249 -0.1216)
OKLCHoklch(37.57% 0.124 281.6)
XYZxyz(6.8104, 4.8839, 21.0017)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393480 #7B8034
analogous
#345580 #393480 #5F3480
triadic
#393480 #803934 #348039
tetradic
#393480 #803455 #7B8034 #34805F
square
#393480 #803455 #7B8034 #34805F
split-complementary
#393480 #805F34 #558034
monochromatic
#121129 #262254 #393480 #4C46AC #716BC3

Accessibility & contrast

On white

10.62
#393480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#393480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393480
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393480#FFFFFF#000000##FFFFFF
##3934801.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#1A4654
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #393480;
/* rgb */ color: rgb(57, 52, 128);
/* oklch */ color: oklch(37.6% 0.124 281.6);
Tailwind
colors: {
  custom: {
    50: '#766ba5',
    500: '#393480',
    950: '#000000',
  },
}
SCSS
$custom: #393480;
$custom-light: #766ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#393480",
  "rgb": {
    "r": 57,
    "g": 52,
    "b": 128
  },
  "hsl": {
    "h": 243.947,
    "s": 42.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37568,
    "c": 0.1241,
    "h": 281.6
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#393480
secondary
#A6AB65
accent
#D256CA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #393480

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

Preview Lab → · Contrast checker → · Palette generator →

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