#393CAA#393CAA

#393CAA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.172 H 275.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#393CAA
RGBrgb(57, 60, 170)
HSLhsl(238, 50%, 45%)
HSVhsv(238, 66%, 67%)
CMYKcmyk(66.5%, 64.7%, 0%, 33.3%)
CIE-LABlab(31.81, 34.25, -59.38)
CIE-LCHlch(31.81, 68.55, 299.98°)
OKLaboklab(42.62% 0.0154 -0.1713)
OKLCHoklch(42.62% 0.172 275.1)
XYZxyz(10.5565, 7.0029, 38.8178)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CAA #AAA739
analogous
#3975AA #393CAA #6F39AA
triadic
#393CAA #AA393C #3CAA39
tetradic
#393CAA #AA3975 #AAA739 #39AA6F
square
#393CAA #AA3975 #AAA739 #39AA6F
split-complementary
#393CAA #AA6F39 #75AA39
monochromatic
#1A1C4E #2A2C7C #393CAA #595CC7 #8789D7

Accessibility & contrast

On white

8.75
#393CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#393CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CAA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CAA#FFFFFF#000000##FFFFFF
##393CAA1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393caa;
/* rgb */ color: rgb(57, 60, 170);
/* oklch */ color: oklch(42.6% 0.172 275.1);
Tailwind
colors: {
  custom: {
    50: '#7d72c4',
    500: '#393caa',
    950: '#000000',
  },
}
SCSS
$custom: #393caa;
$custom-light: #7d72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#393caa",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 238.407,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.17195,
    "h": 275.1
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#393CAA
secondary
#C1BF7E
accent
#D64ED9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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