#393AB8#393AB8

#393AB8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.193 H 274.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#393AB8
RGBrgb(57, 58, 184)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 69%, 72%)
CMYKcmyk(69%, 68.5%, 0%, 27.8%)
CIE-LABlab(32.60, 40.28, -66.42)
CIE-LCHlch(32.60, 77.68, 301.24°)
OKLaboklab(43.58% 0.0154 -0.1919)
OKLCHoklch(43.58% 0.193 274.6)
XYZxyz(11.8493, 7.3556, 46.1334)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AB8 #B8B739
analogous
#3979B8 #393AB8 #7839B8
triadic
#393AB8 #B8393A #3AB839
tetradic
#393AB8 #B83979 #B8B739 #39B878
square
#393AB8 #B83979 #B8B739 #39B878
split-complementary
#393AB8 #B87839 #79B839
monochromatic
#1C1D5B #2B2B89 #393AB8 #6061CE #8F90DC

Accessibility & contrast

On white

8.50
#393AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393AB8
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AB8#FFFFFF#000000##FFFFFF
##393AB81.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393ab8;
/* rgb */ color: rgb(57, 58, 184);
/* oklch */ color: oklch(43.6% 0.193 274.6);
Tailwind
colors: {
  custom: {
    50: '#8171ce',
    500: '#393ab8',
    950: '#000000',
  },
}
SCSS
$custom: #393ab8;
$custom-light: #8171ce;
$custom-dark: #000000;
JSON
{
  "hex": "#393ab8",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 239.528,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43576,
    "c": 0.1925,
    "h": 274.6
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#393AB8
secondary
#C7C786
accent
#DB4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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