#393FB8#393FB8

#393FB8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.187 H 273.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#393FB8
RGBrgb(57, 63, 184)
HSLhsl(237, 53%, 47%)
HSVhsv(237, 69%, 72%)
CMYKcmyk(69%, 65.8%, 0%, 27.8%)
CIE-LABlab(33.74, 37.22, -64.55)
CIE-LCHlch(33.74, 74.51, 299.97°)
OKLaboklab(44.4% 0.012 -0.1864)
OKLCHoklch(44.4% 0.187 273.7)
XYZxyz(12.1137, 7.8844, 46.2216)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FB8 #B8B239
analogous
#397FB8 #393FB8 #7239B8
triadic
#393FB8 #B8393F #3FB839
tetradic
#393FB8 #B8397F #B8B239 #39B872
square
#393FB8 #B8397F #B8B239 #39B872
split-complementary
#393FB8 #B87239 #7FB839
monochromatic
#1C1F5B #2B2F89 #393FB8 #6066CE #8F93DC

Accessibility & contrast

On white

8.15
#393FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#393FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FB8
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FB8#FFFFFF#000000##FFFFFF
##393FB81.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #393fb8;
/* rgb */ color: rgb(57, 63, 184);
/* oklch */ color: oklch(44.4% 0.187 273.7);
Tailwind
colors: {
  custom: {
    50: '#8074ce',
    500: '#393fb8',
    950: '#000000',
  },
}
SCSS
$custom: #393fb8;
$custom-light: #8074ce;
$custom-dark: #000000;
JSON
{
  "hex": "#393fb8",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 237.165,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.18679,
    "h": 273.7
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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