#394AC2#394AC2

#394AC2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.187 H 271.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#394AC2
RGBrgb(57, 74, 194)
HSLhsl(233, 55%, 49%)
HSVhsv(233, 71%, 76%)
CMYKcmyk(70.6%, 61.9%, 0%, 23.9%)
CIE-LABlab(37.23, 33.81, -64.72)
CIE-LCHlch(37.23, 73.02, 297.58°)
OKLaboklab(47.22% 0.0035 -0.1868)
OKLCHoklch(47.22% 0.187 271.1)
XYZxyz(13.8704, 9.6611, 52.1623)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AC2 #C2B139
analogous
#398FC2 #394AC2 #6D39C2
triadic
#394AC2 #C2394A #4AC239
tetradic
#394AC2 #C2398F #C2B139 #39C26D
square
#394AC2 #C2398F #C2B139 #39C26D
split-complementary
#394AC2 #C26D39 #8FC239
monochromatic
#1D2663 #2B3893 #394AC2 #6674D2 #959FE0

Accessibility & contrast

On white

7.16
#394AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#394AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AC2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AC2#FFFFFF#000000##FFFFFF
##394AC21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#00697F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394ac2;
/* rgb */ color: rgb(57, 74, 194);
/* oklch */ color: oklch(47.2% 0.187 271.1);
Tailwind
colors: {
  custom: {
    50: '#817cd5',
    500: '#394ac2',
    950: '#000000',
  },
}
SCSS
$custom: #394ac2;
$custom-light: #817cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#394ac2",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 232.555,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47222,
    "c": 0.18686,
    "h": 271.1
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#394AC2
secondary
#CBC38B
accent
#CC4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #394AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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