#393CB3#393CB3

#393CB3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.184 H 274.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#393CB3
RGBrgb(57, 60, 179)
HSLhsl(239, 52%, 46%)
HSVhsv(239, 68%, 70%)
CMYKcmyk(68.2%, 66.5%, 0%, 29.8%)
CIE-LABlab(32.60, 37.36, -63.45)
CIE-LCHlch(32.60, 73.63, 300.49°)
OKLaboklab(43.44% 0.0146 -0.1832)
OKLCHoklch(43.44% 0.184 274.5)
XYZxyz(11.4372, 7.3552, 43.4560)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CB3 #B3B039
analogous
#3979B3 #393CB3 #7339B3
triadic
#393CB3 #B3393C #3CB339
tetradic
#393CB3 #B33979 #B3B039 #39B373
square
#393CB3 #B33979 #B3B039 #39B373
split-complementary
#393CB3 #B37339 #79B339
monochromatic
#1B1D56 #2A2C85 #393CB3 #5E60CC #8C8EDA

Accessibility & contrast

On white

8.50
#393CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#393CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CB3
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CB3#FFFFFF#000000##FFFFFF
##393CB31.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393cb3;
/* rgb */ color: rgb(57, 60, 179);
/* oklch */ color: oklch(43.4% 0.184 274.5);
Tailwind
colors: {
  custom: {
    50: '#7f72cb',
    500: '#393cb3',
    950: '#000000',
  },
}
SCSS
$custom: #393cb3;
$custom-light: #7f72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#393cb3",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 238.525,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43437,
    "c": 0.18379,
    "h": 274.5
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#393CB3
secondary
#C5C383
accent
#D84DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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