#393FC1#393FC1

#393FC1 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.198 H 273.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#393FC1
RGBrgb(57, 63, 193)
HSLhsl(237, 54%, 49%)
HSVhsv(237, 70%, 76%)
CMYKcmyk(70.5%, 67.4%, 0%, 24.3%)
CIE-LABlab(34.55, 40.32, -68.53)
CIE-LCHlch(34.55, 79.51, 300.47°)
OKLaboklab(45.23% 0.0111 -0.198)
OKLCHoklch(45.23% 0.198 273.2)
XYZxyz(13.0873, 8.2739, 51.3490)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FC1 #C1BB39
analogous
#3983C1 #393FC1 #7739C1
triadic
#393FC1 #C1393F #3FC139
tetradic
#393FC1 #C13983 #C1BB39 #39C177
square
#393FC1 #C13983 #C1BB39 #39C177
split-complementary
#393FC1 #C17739 #83C139
monochromatic
#1D2063 #2B3092 #393FC1 #666AD2 #9598E0

Accessibility & contrast

On white

7.91
#393FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#393FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FC1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FC1#FFFFFF#000000##FFFFFF
##393FC11.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #393fc1;
/* rgb */ color: rgb(57, 63, 193);
/* oklch */ color: oklch(45.2% 0.198 273.2);
Tailwind
colors: {
  custom: {
    50: '#8274d5',
    500: '#393fc1',
    950: '#000000',
  },
}
SCSS
$custom: #393fc1;
$custom-light: #8274d5;
$custom-dark: #000000;
JSON
{
  "hex": "#393fc1",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 237.353,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45234,
    "c": 0.19835,
    "h": 273.2
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#393FC1
secondary
#CBC88B
accent
#D74ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #393FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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