#393EB3#393EB3

#393EB3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.181 H 274.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#393EB3
RGBrgb(57, 62, 179)
HSLhsl(238, 52%, 46%)
HSVhsv(238, 68%, 70%)
CMYKcmyk(68.2%, 65.4%, 0%, 29.8%)
CIE-LABlab(33.07, 36.11, -62.69)
CIE-LCHlch(33.07, 72.35, 299.94°)
OKLaboklab(43.78% 0.0131 -0.181)
OKLCHoklch(43.78% 0.181 274.1)
XYZxyz(11.5439, 7.5687, 43.4916)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EB3 #B3AE39
analogous
#397BB3 #393EB3 #7139B3
triadic
#393EB3 #B3393E #3EB339
tetradic
#393EB3 #B3397B #B3AE39 #39B371
square
#393EB3 #B3397B #B3AE39 #39B371
split-complementary
#393EB3 #B37139 #7BB339
monochromatic
#1B1E56 #2A2E85 #393EB3 #5E62CC #8C8FDA

Accessibility & contrast

On white

8.35
#393EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393EB3
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EB3#FFFFFF#000000##FFFFFF
##393EB31.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393eb3;
/* rgb */ color: rgb(57, 62, 179);
/* oklch */ color: oklch(43.8% 0.181 274.1);
Tailwind
colors: {
  custom: {
    50: '#7f73cb',
    500: '#393eb3',
    950: '#000000',
  },
}
SCSS
$custom: #393eb3;
$custom-light: #7f73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#393eb3",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 237.541,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43776,
    "c": 0.18144,
    "h": 274.1
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#393EB3
secondary
#C5C283
accent
#D54DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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