#393EB7#393EB7

#393EB7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.187 H 273.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#393EB7
RGBrgb(57, 62, 183)
HSLhsl(238, 53%, 47%)
HSVhsv(238, 69%, 72%)
CMYKcmyk(68.9%, 66.1%, 0%, 28.2%)
CIE-LABlab(33.42, 37.50, -64.49)
CIE-LCHlch(33.42, 74.59, 300.18°)
OKLaboklab(44.14% 0.0128 -0.1862)
OKLCHoklch(44.14% 0.187 273.9)
XYZxyz(11.9544, 7.7329, 45.6532)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EB7 #B7B239
analogous
#397DB7 #393EB7 #7339B7
triadic
#393EB7 #B7393E #3EB739
tetradic
#393EB7 #B7397D #B7B239 #39B773
square
#393EB7 #B7397D #B7B239 #39B773
split-complementary
#393EB7 #B77339 #7DB739
monochromatic
#1C1E5A #2A2E88 #393EB7 #6064CD #8E92DC

Accessibility & contrast

On white

8.25
#393EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#393EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EB7
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EB7#FFFFFF#000000##FFFFFF
##393EB71.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #393eb7;
/* rgb */ color: rgb(57, 62, 183);
/* oklch */ color: oklch(44.1% 0.187 273.9);
Tailwind
colors: {
  custom: {
    50: '#8074ce',
    500: '#393eb7',
    950: '#000000',
  },
}
SCSS
$custom: #393eb7;
$custom-light: #8074ce;
$custom-dark: #000000;
JSON
{
  "hex": "#393eb7",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 237.619,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44141,
    "c": 0.18666,
    "h": 273.9
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#393EB7
secondary
#C7C485
accent
#D64CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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