#393FAC#393FAC

#393FAC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.171 H 274.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#393FAC
RGBrgb(57, 63, 172)
HSLhsl(237, 50%, 45%)
HSVhsv(237, 67%, 67%)
CMYKcmyk(66.9%, 63.4%, 0%, 32.5%)
CIE-LABlab(32.71, 33.05, -59.12)
CIE-LCHlch(32.71, 67.72, 299.21°)
OKLaboklab(43.33% 0.0128 -0.1705)
OKLCHoklch(43.33% 0.171 274.3)
XYZxyz(10.9088, 7.4025, 39.8757)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FAC #ACA639
analogous
#3978AC #393FAC #6D39AC
triadic
#393FAC #AC393F #3FAC39
tetradic
#393FAC #AC3978 #ACA639 #39AC6D
square
#393FAC #AC3978 #ACA639 #39AC6D
split-complementary
#393FAC #AC6D39 #78AC39
monochromatic
#1B1D50 #2A2E7E #393FAC #5A60C8 #888CD8

Accessibility & contrast

On white

8.47
#393FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#393FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FAC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FAC#FFFFFF#000000##FFFFFF
##393FAC1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393fac;
/* rgb */ color: rgb(57, 63, 172);
/* oklch */ color: oklch(43.3% 0.171 274.3);
Tailwind
colors: {
  custom: {
    50: '#7e74c6',
    500: '#393fac',
    950: '#000000',
  },
}
SCSS
$custom: #393fac;
$custom-light: #7e74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#393fac",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 236.87,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.17095,
    "h": 274.3
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#393FAC
secondary
#C2BE7F
accent
#D24EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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