#393EAF#393EAF

#393EAF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.176 H 274.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#393EAF
RGBrgb(57, 62, 175)
HSLhsl(237, 51%, 45%)
HSVhsv(237, 67%, 69%)
CMYKcmyk(67.4%, 64.6%, 0%, 31.4%)
CIE-LABlab(32.72, 34.73, -60.88)
CIE-LCHlch(32.72, 70.09, 299.70°)
OKLaboklab(43.42% 0.0134 -0.1757)
OKLCHoklch(43.42% 0.176 274.4)
XYZxyz(11.1453, 7.4092, 41.3919)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EAF #AFAA39
analogous
#3979AF #393EAF #6F39AF
triadic
#393EAF #AF393E #3EAF39
tetradic
#393EAF #AF3979 #AFAA39 #39AF6F
square
#393EAF #AF3979 #AFAA39 #39AF6F
split-complementary
#393EAF #AF6F39 #79AF39
monochromatic
#1B1D53 #2A2E81 #393EAF #5B60CA #8A8DD9

Accessibility & contrast

On white

8.46
#393EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393EAF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EAF#FFFFFF#000000##FFFFFF
##393EAF1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393eaf;
/* rgb */ color: rgb(57, 62, 175);
/* oklch */ color: oklch(43.4% 0.176 274.4);
Tailwind
colors: {
  custom: {
    50: '#7e73c8',
    500: '#393eaf',
    950: '#000000',
  },
}
SCSS
$custom: #393eaf;
$custom-light: #7e73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#393eaf",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 237.458,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43415,
    "c": 0.17617,
    "h": 274.4
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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