#393DA1#393DA1

#393DA1 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.159 H 275.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#393DA1
RGBrgb(57, 61, 161)
HSLhsl(238, 48%, 43%)
HSVhsv(238, 65%, 63%)
CMYKcmyk(64.6%, 62.1%, 0%, 36.9%)
CIE-LABlab(31.30, 30.48, -54.80)
CIE-LCHlch(31.30, 62.71, 299.08°)
OKLaboklab(42.01% 0.0151 -0.1578)
OKLCHoklch(42.01% 0.159 275.5)
XYZxyz(9.7870, 6.7797, 34.5042)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DA1 #A19D39
analogous
#3971A1 #393DA1 #6939A1
triadic
#393DA1 #A1393D #3DA139
tetradic
#393DA1 #A13971 #A19D39 #39A169
square
#393DA1 #A13971 #A19D39 #39A169
split-complementary
#393DA1 #A16939 #71A139
monochromatic
#191B47 #292C74 #393DA1 #5559C3 #8285D3

Accessibility & contrast

On white

8.91
#393DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#393DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DA1
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DA1#FFFFFF#000000##FFFFFF
##393DA11.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393da1;
/* rgb */ color: rgb(57, 61, 161);
/* oklch */ color: oklch(42.0% 0.159 275.5);
Tailwind
colors: {
  custom: {
    50: '#7c72be',
    500: '#393da1',
    950: '#000000',
  },
}
SCSS
$custom: #393da1;
$custom-light: #7c72be;
$custom-dark: #000000;
JSON
{
  "hex": "#393da1",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 237.692,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42007,
    "c": 0.15854,
    "h": 275.5
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#393DA1
secondary
#BCBA79
accent
#D250D7
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #393DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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