#393BCA#393BCA

#393BCA is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.5% C 0.214 H 273.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#393BCA
RGBrgb(57, 59, 202)
HSLhsl(239, 58%, 51%)
HSVhsv(239, 72%, 79%)
CMYKcmyk(71.8%, 70.8%, 0%, 20.8%)
CIE-LABlab(34.52, 45.72, -73.83)
CIE-LCHlch(34.52, 86.84, 301.77°)
OKLaboklab(45.47% 0.0123 -0.2135)
OKLCHoklch(45.47% 0.214 273.3)
XYZxyz(13.9084, 8.2607, 56.7271)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BCA #CAC839
analogous
#3984CA #393BCA #7F39CA
triadic
#393BCA #CA393B #3BCA39
tetradic
#393BCA #CA3984 #CAC839 #39CA7F
square
#393BCA #CA3984 #CAC839 #39CA7F
split-complementary
#393BCA #CA7F39 #84CA39
monochromatic
#1D1E6C #2A2B9C #393BCA #696BD7 #9A9BE4

Accessibility & contrast

On white

7.92
#393BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#393BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BCA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BCA#FFFFFF#000000##FFFFFF
##393BCA1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004AC7
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #393bca;
/* rgb */ color: rgb(57, 59, 202);
/* oklch */ color: oklch(45.5% 0.214 273.3);
Tailwind
colors: {
  custom: {
    50: '#8472db',
    500: '#393bca',
    950: '#000000',
  },
}
SCSS
$custom: #393bca;
$custom-light: #8472db;
$custom-dark: #000000;
JSON
{
  "hex": "#393bca",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 239.172,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4547,
    "c": 0.21389,
    "h": 273.3
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#393BCA
secondary
#D0CF8F
accent
#DF47E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #393BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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