#393FBE#393FBE

#393FBE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 45.0% C 0.195 H 273.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#393FBE
RGBrgb(57, 63, 190)
HSLhsl(237, 54%, 48%)
HSVhsv(237, 70%, 75%)
CMYKcmyk(70%, 66.8%, 0%, 25.5%)
CIE-LABlab(34.28, 39.29, -67.21)
CIE-LCHlch(34.28, 77.85, 300.31°)
OKLaboklab(44.95% 0.0114 -0.1942)
OKLCHoklch(44.95% 0.195 273.4)
XYZxyz(12.7560, 8.1413, 49.6044)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FBE #BEB839
analogous
#3981BE #393FBE #7539BE
triadic
#393FBE #BE393F #3FBE39
tetradic
#393FBE #BE3981 #BEB839 #39BE75
square
#393FBE #BE3981 #BEB839 #39BE75
split-complementary
#393FBE #BE7539 #81BE39
monochromatic
#1D2060 #2B2F8F #393FBE #6469D0 #9396DF

Accessibility & contrast

On white

7.99
#393FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#393FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FBE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FBE#FFFFFF#000000##FFFFFF
##393FBE1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393fbe;
/* rgb */ color: rgb(57, 63, 190);
/* oklch */ color: oklch(45.0% 0.195 273.4);
Tailwind
colors: {
  custom: {
    50: '#8174d3',
    500: '#393fbe',
    950: '#000000',
  },
}
SCSS
$custom: #393fbe;
$custom-light: #8174d3;
$custom-dark: #000000;
JSON
{
  "hex": "#393fbe",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 237.293,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.19452,
    "h": 273.4
  },
  "luminance": 0.08143
}

Semantic roles & 50–950 ramp

primary
#393FBE
secondary
#CAC789
accent
#D74BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #393FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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