#393CAF#393CAF

#393CAF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.179 H 274.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#393CAF
RGBrgb(57, 60, 175)
HSLhsl(238, 51%, 45%)
HSVhsv(238, 67%, 69%)
CMYKcmyk(67.4%, 65.7%, 0%, 31.4%)
CIE-LABlab(32.25, 35.98, -61.65)
CIE-LCHlch(32.25, 71.38, 300.27°)
OKLaboklab(43.07% 0.015 -0.1779)
OKLCHoklch(43.07% 0.179 274.8)
XYZxyz(11.0385, 7.1957, 41.3563)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CAF #AFAC39
analogous
#3977AF #393CAF #7139AF
triadic
#393CAF #AF393C #3CAF39
tetradic
#393CAF #AF3977 #AFAC39 #39AF71
square
#393CAF #AF3977 #AFAC39 #39AF71
split-complementary
#393CAF #AF7139 #77AF39
monochromatic
#1B1C53 #2A2C81 #393CAF #5B5ECA #8A8CD9

Accessibility & contrast

On white

8.61
#393CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#393CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CAF
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CAF#FFFFFF#000000##FFFFFF
##393CAF1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393caf;
/* rgb */ color: rgb(57, 60, 175);
/* oklch */ color: oklch(43.1% 0.179 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e72c8',
    500: '#393caf',
    950: '#000000',
  },
}
SCSS
$custom: #393caf;
$custom-light: #7e72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#393caf",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 238.475,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43071,
    "c": 0.17856,
    "h": 274.8
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#393CAF
secondary
#C3C181
accent
#D74DDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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