#393CB8#393CB8

#393CB8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.190 H 274.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#393CB8
RGBrgb(57, 60, 184)
HSLhsl(239, 53%, 47%)
HSVhsv(239, 69%, 72%)
CMYKcmyk(69%, 67.4%, 0%, 27.8%)
CIE-LABlab(33.05, 39.07, -65.68)
CIE-LCHlch(33.05, 76.42, 300.75°)
OKLaboklab(43.9% 0.0141 -0.1897)
OKLCHoklch(43.9% 0.19 274.2)
XYZxyz(11.9521, 7.5612, 46.1677)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CB8 #B8B539
analogous
#397BB8 #393CB8 #7639B8
triadic
#393CB8 #B8393C #3CB839
tetradic
#393CB8 #B8397B #B8B539 #39B876
square
#393CB8 #B8397B #B8B539 #39B876
split-complementary
#393CB8 #B87639 #7BB839
monochromatic
#1C1E5B #2B2D89 #393CB8 #6063CE #8F91DC

Accessibility & contrast

On white

8.36
#393CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#393CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CB8
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CB8#FFFFFF#000000##FFFFFF
##393CB81.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393cb8;
/* rgb */ color: rgb(57, 60, 184);
/* oklch */ color: oklch(43.9% 0.190 274.2);
Tailwind
colors: {
  custom: {
    50: '#8072ce',
    500: '#393cb8',
    950: '#000000',
  },
}
SCSS
$custom: #393cb8;
$custom-light: #8072ce;
$custom-dark: #000000;
JSON
{
  "hex": "#393cb8",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 238.583,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43901,
    "c": 0.19025,
    "h": 274.2
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#393CB8
secondary
#C7C686
accent
#D94CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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