#393FA2#393FA2

#393FA2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.157 H 274.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#393FA2
RGBrgb(57, 63, 162)
HSLhsl(237, 48%, 43%)
HSVhsv(237, 65%, 64%)
CMYKcmyk(64.8%, 61.1%, 0%, 36.5%)
CIE-LABlab(31.88, 29.53, -54.46)
CIE-LCHlch(31.88, 61.95, 298.47°)
OKLaboklab(42.46% 0.0133 -0.1568)
OKLCHoklch(42.46% 0.157 274.8)
XYZxyz(9.9843, 7.0327, 35.0067)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FA2 #A29C39
analogous
#3974A2 #393FA2 #6739A2
triadic
#393FA2 #A2393F #3FA239
tetradic
#393FA2 #A23974 #A29C39 #39A267
square
#393FA2 #A23974 #A29C39 #39A267
split-complementary
#393FA2 #A26739 #74A239
monochromatic
#191C47 #292D75 #393FA2 #555BC3 #8287D3

Accessibility & contrast

On white

8.73
#393FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#393FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FA2
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FA2#FFFFFF#000000##FFFFFF
##393FA21.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393fa2;
/* rgb */ color: rgb(57, 63, 162);
/* oklch */ color: oklch(42.5% 0.157 274.8);
Tailwind
colors: {
  custom: {
    50: '#7c74be',
    500: '#393fa2',
    950: '#000000',
  },
}
SCSS
$custom: #393fa2;
$custom-light: #7c74be;
$custom-dark: #000000;
JSON
{
  "hex": "#393fa2",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 236.571,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42461,
    "c": 0.15736,
    "h": 274.8
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#393FA2
secondary
#BDB97A
accent
#D050D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #393FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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