#393FBF#393FBF

#393FBF is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.196 H 273.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#393FBF
RGBrgb(57, 63, 191)
HSLhsl(237, 54%, 49%)
HSVhsv(237, 70%, 75%)
CMYKcmyk(70.2%, 67%, 0%, 25.1%)
CIE-LABlab(34.37, 39.63, -67.65)
CIE-LCHlch(34.37, 78.40, 300.36°)
OKLaboklab(45.05% 0.0113 -0.1955)
OKLCHoklch(45.05% 0.196 273.3)
XYZxyz(12.8657, 8.1852, 50.1820)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FBF #BFB939
analogous
#3982BF #393FBF #7639BF
triadic
#393FBF #BF393F #3FBF39
tetradic
#393FBF #BF3982 #BFB939 #39BF76
square
#393FBF #BF3982 #BFB939 #39BF76
split-complementary
#393FBF #BF7639 #82BF39
monochromatic
#1D2061 #2B2F90 #393FBF #6469D1 #9397DF

Accessibility & contrast

On white

7.96
#393FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#393FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FBF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FBF#FFFFFF#000000##FFFFFF
##393FBF1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #393fbf;
/* rgb */ color: rgb(57, 63, 191);
/* oklch */ color: oklch(45.0% 0.196 273.3);
Tailwind
colors: {
  custom: {
    50: '#8274d3',
    500: '#393fbf',
    950: '#000000',
  },
}
SCSS
$custom: #393fbf;
$custom-light: #8274d3;
$custom-dark: #000000;
JSON
{
  "hex": "#393fbf",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 237.313,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.19581,
    "h": 273.3
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#393FBF
secondary
#CAC78A
accent
#D74ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #393FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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