#393FC2#393FC2

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

Color values

HEX#393FC2
RGBrgb(57, 63, 194)
HSLhsl(237, 55%, 49%)
HSVhsv(237, 71%, 76%)
CMYKcmyk(70.6%, 67.5%, 0%, 23.9%)
CIE-LABlab(34.64, 40.66, -68.96)
CIE-LCHlch(34.64, 80.06, 300.52°)
OKLaboklab(45.33% 0.011 -0.1993)
OKLCHoklch(45.33% 0.2 273.2)
XYZxyz(13.1992, 8.3186, 51.9385)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FC2 #C2BC39
analogous
#3984C2 #393FC2 #7839C2
triadic
#393FC2 #C2393F #3FC239
tetradic
#393FC2 #C23984 #C2BC39 #39C278
square
#393FC2 #C23984 #C2BC39 #39C278
split-complementary
#393FC2 #C27839 #84C239
monochromatic
#1D2063 #2B3093 #393FC2 #666BD2 #9599E0

Accessibility & contrast

On white

7.88
#393FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393FC2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FC2#FFFFFF#000000##FFFFFF
##393FC21.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393fc2;
/* rgb */ color: rgb(57, 63, 194);
/* oklch */ color: oklch(45.3% 0.200 273.2);
Tailwind
colors: {
  custom: {
    50: '#8274d6',
    500: '#393fc2',
    950: '#000000',
  },
}
SCSS
$custom: #393fc2;
$custom-light: #8274d6;
$custom-dark: #000000;
JSON
{
  "hex": "#393fc2",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 237.372,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.19962,
    "h": 273.2
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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