#393FBA#393FBA

#393FBA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.189 H 273.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#393FBA
RGBrgb(57, 63, 186)
HSLhsl(237, 53%, 48%)
HSVhsv(237, 69%, 73%)
CMYKcmyk(69.4%, 66.1%, 0%, 27.1%)
CIE-LABlab(33.92, 37.91, -65.44)
CIE-LCHlch(33.92, 75.63, 300.08°)
OKLaboklab(44.59% 0.0118 -0.189)
OKLCHoklch(44.59% 0.189 273.6)
XYZxyz(12.3248, 7.9689, 47.3335)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FBA #BAB439
analogous
#3980BA #393FBA #7339BA
triadic
#393FBA #BA393F #3FBA39
tetradic
#393FBA #BA3980 #BAB439 #39BA73
square
#393FBA #BA3980 #BAB439 #39BA73
split-complementary
#393FBA #BA7339 #80BA39
monochromatic
#1C1F5C #2B2F8B #393FBA #6167CF #9094DD

Accessibility & contrast

On white

8.10
#393FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#393FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FBA
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FBA#FFFFFF#000000##FFFFFF
##393FBA1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393fba;
/* rgb */ color: rgb(57, 63, 186);
/* oklch */ color: oklch(44.6% 0.189 273.6);
Tailwind
colors: {
  custom: {
    50: '#8174d0',
    500: '#393fba',
    950: '#000000',
  },
}
SCSS
$custom: #393fba;
$custom-light: #8174d0;
$custom-dark: #000000;
JSON
{
  "hex": "#393fba",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 237.209,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.18939,
    "h": 273.6
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#393FBA
secondary
#C8C587
accent
#D64BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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