#393CA2#393CA2

#393CA2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.161 H 275.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#393CA2
RGBrgb(57, 60, 162)
HSLhsl(238, 48%, 43%)
HSVhsv(238, 65%, 64%)
CMYKcmyk(64.8%, 63%, 0%, 36.5%)
CIE-LABlab(31.14, 31.47, -55.67)
CIE-LCHlch(31.14, 63.95, 299.48°)
OKLaboklab(41.91% 0.0159 -0.1604)
OKLCHoklch(41.91% 0.161 275.7)
XYZxyz(9.8227, 6.7094, 34.9528)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CA2 #A29F39
analogous
#3970A2 #393CA2 #6B39A2
triadic
#393CA2 #A2393C #3CA239
tetradic
#393CA2 #A23970 #A29F39 #39A26B
square
#393CA2 #A23970 #A29F39 #39A26B
split-complementary
#393CA2 #A26B39 #70A239
monochromatic
#191A47 #292B75 #393CA2 #5558C3 #8285D3

Accessibility & contrast

On white

8.97
#393CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#393CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CA2
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CA2#FFFFFF#000000##FFFFFF
##393CA21.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393ca2;
/* rgb */ color: rgb(57, 60, 162);
/* oklch */ color: oklch(41.9% 0.161 275.7);
Tailwind
colors: {
  custom: {
    50: '#7c72be',
    500: '#393ca2',
    950: '#000000',
  },
}
SCSS
$custom: #393ca2;
$custom-light: #7c72be;
$custom-dark: #000000;
JSON
{
  "hex": "#393ca2",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 238.286,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41912,
    "c": 0.16118,
    "h": 275.7
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#393CA2
secondary
#BDBB7A
accent
#D450D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393CA2

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

Preview Lab → · Contrast checker → · Palette generator →

#393CA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva