#393EAC#393EAC

#393EAC is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.172 H 274.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#393EAC
RGBrgb(57, 62, 172)
HSLhsl(237, 50%, 45%)
HSVhsv(237, 67%, 67%)
CMYKcmyk(66.9%, 64%, 0%, 32.5%)
CIE-LABlab(32.46, 33.68, -59.51)
CIE-LCHlch(32.46, 68.38, 299.51°)
OKLaboklab(43.15% 0.0136 -0.1716)
OKLCHoklch(43.15% 0.172 274.5)
XYZxyz(10.8539, 7.2927, 39.8574)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EAC #ACA739
analogous
#3978AC #393EAC #6D39AC
triadic
#393EAC #AC393E #3EAC39
tetradic
#393EAC #AC3978 #ACA739 #39AC6D
square
#393EAC #AC3978 #ACA739 #39AC6D
split-complementary
#393EAC #AC6D39 #78AC39
monochromatic
#1B1D50 #2A2D7E #393EAC #5A5FC8 #888BD8

Accessibility & contrast

On white

8.54
#393EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#393EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EAC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EAC#FFFFFF#000000##FFFFFF
##393EAC1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393eac;
/* rgb */ color: rgb(57, 62, 172);
/* oklch */ color: oklch(43.1% 0.172 274.5);
Tailwind
colors: {
  custom: {
    50: '#7e73c6',
    500: '#393eac',
    950: '#000000',
  },
}
SCSS
$custom: #393eac;
$custom-light: #7e73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#393eac",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 237.391,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43148,
    "c": 0.17218,
    "h": 274.5
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#393EAC
secondary
#C2BF7F
accent
#D44EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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