#393FBB#393FBB

#393FBB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.7% C 0.191 H 273.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#393FBB
RGBrgb(57, 63, 187)
HSLhsl(237, 53%, 48%)
HSVhsv(237, 70%, 73%)
CMYKcmyk(69.5%, 66.3%, 0%, 26.7%)
CIE-LABlab(34.01, 38.26, -65.89)
CIE-LCHlch(34.01, 76.19, 300.14°)
OKLaboklab(44.68% 0.0117 -0.1903)
OKLCHoklch(44.68% 0.191 273.5)
XYZxyz(12.4315, 8.0115, 47.8953)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FBB #BBB539
analogous
#3980BB #393FBB #7439BB
triadic
#393FBB #BB393F #3FBB39
tetradic
#393FBB #BB3980 #BBB539 #39BB74
square
#393FBB #BB3980 #BBB539 #39BB74
split-complementary
#393FBB #BB7439 #80BB39
monochromatic
#1C1F5D #2B2F8C #393FBB #6267CF #9194DD

Accessibility & contrast

On white

8.07
#393FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#393FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FBB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FBB#FFFFFF#000000##FFFFFF
##393FBB1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393fbb;
/* rgb */ color: rgb(57, 63, 187);
/* oklch */ color: oklch(44.7% 0.191 273.5);
Tailwind
colors: {
  custom: {
    50: '#8174d1',
    500: '#393fbb',
    950: '#000000',
  },
}
SCSS
$custom: #393fbb;
$custom-light: #8174d1;
$custom-dark: #000000;
JSON
{
  "hex": "#393fbb",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 237.231,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.19068,
    "h": 273.5
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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