#393BAF#393BAF

#393BAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.180 H 275.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#393BAF
RGBrgb(57, 59, 175)
HSLhsl(239, 51%, 45%)
HSVhsv(239, 67%, 69%)
CMYKcmyk(67.4%, 66.3%, 0%, 31.4%)
CIE-LABlab(32.02, 36.60, -62.04)
CIE-LCHlch(32.02, 72.03, 300.54°)
OKLaboklab(42.9% 0.0157 -0.1791)
OKLCHoklch(42.9% 0.18 275)
XYZxyz(10.9866, 7.0919, 41.3390)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BAF #AFAD39
analogous
#3976AF #393BAF #7239AF
triadic
#393BAF #AF393B #3BAF39
tetradic
#393BAF #AF3976 #AFAD39 #39AF72
square
#393BAF #AF3976 #AFAD39 #39AF72
split-complementary
#393BAF #AF7239 #76AF39
monochromatic
#1B1C53 #2A2B81 #393BAF #5B5DCA #8A8BD9

Accessibility & contrast

On white

8.68
#393BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#393BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BAF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BAF#FFFFFF#000000##FFFFFF
##393BAF1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393baf;
/* rgb */ color: rgb(57, 59, 175);
/* oklch */ color: oklch(42.9% 0.180 275.0);
Tailwind
colors: {
  custom: {
    50: '#7f71c8',
    500: '#393baf',
    950: '#000000',
  },
}
SCSS
$custom: #393baf;
$custom-light: #7f71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#393baf",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 238.983,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.17975,
    "h": 275
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#393BAF
secondary
#C3C281
accent
#D84DDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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