#393FB7#393FB7

#393FB7 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.185 H 273.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#393FB7
RGBrgb(57, 63, 183)
HSLhsl(237, 53%, 47%)
HSVhsv(237, 69%, 72%)
CMYKcmyk(68.9%, 65.6%, 0%, 28.2%)
CIE-LABlab(33.65, 36.88, -64.10)
CIE-LCHlch(33.65, 73.95, 299.91°)
OKLaboklab(44.31% 0.0121 -0.1851)
OKLCHoklch(44.31% 0.185 273.7)
XYZxyz(12.0092, 7.8426, 45.6715)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FB7 #B7B139
analogous
#397EB7 #393FB7 #7239B7
triadic
#393FB7 #B7393F #3FB739
tetradic
#393FB7 #B7397E #B7B139 #39B772
square
#393FB7 #B7397E #B7B139 #39B772
split-complementary
#393FB7 #B77239 #7EB739
monochromatic
#1C1F5A #2A2F88 #393FB7 #6065CD #8E92DC

Accessibility & contrast

On white

8.18
#393FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#393FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FB7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FB7#FFFFFF#000000##FFFFFF
##393FB71.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393fb7;
/* rgb */ color: rgb(57, 63, 183);
/* oklch */ color: oklch(44.3% 0.185 273.7);
Tailwind
colors: {
  custom: {
    50: '#8074ce',
    500: '#393fb7',
    950: '#000000',
  },
}
SCSS
$custom: #393fb7;
$custom-light: #8074ce;
$custom-dark: #000000;
JSON
{
  "hex": "#393fb7",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 237.143,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4431,
    "c": 0.18549,
    "h": 273.7
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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