#393BC1#393BC1

#393BC1 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.6% C 0.203 H 273.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#393BC1
RGBrgb(57, 59, 193)
HSLhsl(239, 54%, 49%)
HSVhsv(239, 70%, 76%)
CMYKcmyk(70.5%, 69.4%, 0%, 24.3%)
CIE-LABlab(33.66, 42.72, -69.98)
CIE-LCHlch(33.66, 81.99, 301.40°)
OKLaboklab(44.6% 0.0136 -0.2023)
OKLCHoklch(44.6% 0.203 273.8)
XYZxyz(12.8737, 7.8468, 51.2779)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BC1 #C1BF39
analogous
#397FC1 #393BC1 #7B39C1
triadic
#393BC1 #C1393B #3BC139
tetradic
#393BC1 #C1397F #C1BF39 #39C17B
square
#393BC1 #C1397F #C1BF39 #39C17B
split-complementary
#393BC1 #C17B39 #7FC139
monochromatic
#1D1E63 #2B2D92 #393BC1 #6667D2 #9596E0

Accessibility & contrast

On white

8.17
#393BC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#393BC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BC1
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BC1#FFFFFF#000000##FFFFFF
##393BC11.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #393bc1;
/* rgb */ color: rgb(57, 59, 193);
/* oklch */ color: oklch(44.6% 0.203 273.8);
Tailwind
colors: {
  custom: {
    50: '#8272d5',
    500: '#393bc1',
    950: '#000000',
  },
}
SCSS
$custom: #393bc1;
$custom-light: #8272d5;
$custom-dark: #000000;
JSON
{
  "hex": "#393bc1",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 239.118,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.20276,
    "h": 273.8
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#393BC1
secondary
#CBCA8B
accent
#DC4ADE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #393BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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