#394EC1#394EC1

#394EC1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.181 H 270.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#394EC1
RGBrgb(57, 78, 193)
HSLhsl(231, 54%, 49%)
HSVhsv(231, 70%, 76%)
CMYKcmyk(70.5%, 59.6%, 0%, 24.3%)
CIE-LABlab(38.14, 30.90, -62.65)
CIE-LCHlch(38.14, 69.85, 296.26°)
OKLaboklab(47.87% 0.0006 -0.1807)
OKLCHoklch(47.87% 0.181 270.2)
XYZxyz(14.0341, 10.1675, 51.6646)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EC1 #C1AC39
analogous
#3992C1 #394EC1 #6839C1
triadic
#394EC1 #C1394E #4EC139
tetradic
#394EC1 #C13992 #C1AC39 #39C168
square
#394EC1 #C13992 #C1AC39 #39C168
split-complementary
#394EC1 #C16839 #92C139
monochromatic
#1D2863 #2B3B92 #394EC1 #6676D2 #95A0E0

Accessibility & contrast

On white

6.92
#394EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#394EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394EC1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EC1#FFFFFF#000000##FFFFFF
##394EC11.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394ec1;
/* rgb */ color: rgb(57, 78, 193);
/* oklch */ color: oklch(47.9% 0.181 270.2);
Tailwind
colors: {
  custom: {
    50: '#817fd5',
    500: '#394ec1',
    950: '#000000',
  },
}
SCSS
$custom: #394ec1;
$custom-light: #817fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#394ec1",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 230.735,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.1807,
    "h": 270.2
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#394EC1
secondary
#CBC18B
accent
#C74ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394EC1

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

Preview Lab → · Contrast checker → · Palette generator →

#394EC1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva