#393CCB#393CCB

#393CCB is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.7% C 0.214 H 273.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#393CCB
RGBrgb(57, 60, 203)
HSLhsl(239, 58%, 51%)
HSVhsv(239, 72%, 80%)
CMYKcmyk(71.9%, 70.4%, 0%, 20.4%)
CIE-LABlab(34.83, 45.47, -73.90)
CIE-LCHlch(34.83, 86.77, 301.60°)
OKLaboklab(45.72% 0.0117 -0.2138)
OKLCHoklch(45.72% 0.214 273.1)
XYZxyz(14.0791, 8.4120, 57.3700)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CCB #CBC839
analogous
#3985CB #393CCB #7F39CB
triadic
#393CCB #CB393C #3CCB39
tetradic
#393CCB #CB3985 #CBC839 #39CB7F
square
#393CCB #CB3985 #CBC839 #39CB7F
split-complementary
#393CCB #CB7F39 #85CB39
monochromatic
#1D1E6D #292C9D #393CCB #696CD8 #9A9BE4

Accessibility & contrast

On white

7.83
#393CCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#393CCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CCB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CCB#FFFFFF#000000##FFFFFF
##393CCB1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #393ccb;
/* rgb */ color: rgb(57, 60, 203);
/* oklch */ color: oklch(45.7% 0.214 273.1);
Tailwind
colors: {
  custom: {
    50: '#8573dc',
    500: '#393ccb',
    950: '#000000',
  },
}
SCSS
$custom: #393ccb;
$custom-light: #8573dc;
$custom-dark: #000000;
JSON
{
  "hex": "#393ccb",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 238.767,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45719,
    "c": 0.21408,
    "h": 273.1
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#393CCB
secondary
#D0CF90
accent
#DE46E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #393CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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