#393FAF#393FAF

#393FAF is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.175 H 274.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#393FAF
RGBrgb(57, 63, 175)
HSLhsl(237, 51%, 45%)
HSVhsv(237, 67%, 69%)
CMYKcmyk(67.4%, 64%, 0%, 31.4%)
CIE-LABlab(32.96, 34.09, -60.49)
CIE-LCHlch(32.96, 69.44, 299.41°)
OKLaboklab(43.59% 0.0127 -0.1745)
OKLCHoklch(43.59% 0.175 274.1)
XYZxyz(11.2001, 7.5190, 41.4102)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FAF #AFA939
analogous
#397AAF #393FAF #6E39AF
triadic
#393FAF #AF393F #3FAF39
tetradic
#393FAF #AF397A #AFA939 #39AF6E
square
#393FAF #AF397A #AFA939 #39AF6E
split-complementary
#393FAF #AF6E39 #7AAF39
monochromatic
#1B1E53 #2A2E81 #393FAF #5B61CA #8A8ED9

Accessibility & contrast

On white

8.39
#393FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#393FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FAF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FAF#FFFFFF#000000##FFFFFF
##393FAF1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393faf;
/* rgb */ color: rgb(57, 63, 175);
/* oklch */ color: oklch(43.6% 0.175 274.1);
Tailwind
colors: {
  custom: {
    50: '#7e74c8',
    500: '#393faf',
    950: '#000000',
  },
}
SCSS
$custom: #393faf;
$custom-light: #7e74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#393faf",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 236.949,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43591,
    "c": 0.17496,
    "h": 274.1
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#393FAF
secondary
#C3C081
accent
#D34DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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