#393FAA#393FAA

#393FAA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.168 H 274.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#393FAA
RGBrgb(57, 63, 170)
HSLhsl(237, 50%, 45%)
HSVhsv(237, 66%, 67%)
CMYKcmyk(66.5%, 62.9%, 0%, 33.3%)
CIE-LABlab(32.54, 32.35, -58.19)
CIE-LCHlch(32.54, 66.58, 299.07°)
OKLaboklab(43.15% 0.013 -0.1678)
OKLCHoklch(43.15% 0.168 274.4)
XYZxyz(10.7181, 7.3262, 38.8717)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FAA #AAA439
analogous
#3978AA #393FAA #6C39AA
triadic
#393FAA #AA393F #3FAA39
tetradic
#393FAA #AA3978 #AAA439 #39AA6C
square
#393FAA #AA3978 #AAA439 #39AA6C
split-complementary
#393FAA #AA6C39 #78AA39
monochromatic
#1A1D4E #2A2E7C #393FAA #595FC7 #878BD7

Accessibility & contrast

On white

8.52
#393FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#393FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FAA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FAA#FFFFFF#000000##FFFFFF
##393FAA1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393faa;
/* rgb */ color: rgb(57, 63, 170);
/* oklch */ color: oklch(43.1% 0.168 274.4);
Tailwind
colors: {
  custom: {
    50: '#7d74c4',
    500: '#393faa',
    950: '#000000',
  },
}
SCSS
$custom: #393faa;
$custom-light: #7d74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#393faa",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 236.814,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4315,
    "c": 0.16827,
    "h": 274.4
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#393FAA
secondary
#C1BD7E
accent
#D24ED9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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