#393ABB#393ABB

#393ABB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.9% C 0.196 H 274.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#393ABB
RGBrgb(57, 58, 187)
HSLhsl(240, 53%, 48%)
HSVhsv(240, 70%, 73%)
CMYKcmyk(69.5%, 69%, 0%, 26.7%)
CIE-LABlab(32.88, 41.30, -67.73)
CIE-LCHlch(32.88, 79.33, 301.37°)
OKLaboklab(43.86% 0.015 -0.1957)
OKLCHoklch(43.86% 0.196 274.4)
XYZxyz(12.1671, 7.4827, 47.8072)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393ABB #BBBA39
analogous
#397BBB #393ABB #7939BB
triadic
#393ABB #BB393A #3ABB39
tetradic
#393ABB #BB397B #BBBA39 #39BB79
square
#393ABB #BB397B #BBBA39 #39BB79
split-complementary
#393ABB #BB7939 #7BBB39
monochromatic
#1C1D5D #2B2B8C #393ABB #6263CF #9192DD

Accessibility & contrast

On white

8.41
#393ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#393ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393ABB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393ABB#FFFFFF#000000##FFFFFF
##393ABB1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393abb;
/* rgb */ color: rgb(57, 58, 187);
/* oklch */ color: oklch(43.9% 0.196 274.4);
Tailwind
colors: {
  custom: {
    50: '#8171d1',
    500: '#393abb',
    950: '#000000',
  },
}
SCSS
$custom: #393abb;
$custom-light: #8171d1;
$custom-dark: #000000;
JSON
{
  "hex": "#393abb",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 239.538,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.1963,
    "h": 274.4
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#393ABB
secondary
#C8C887
accent
#DC4BDD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #393ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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