#394AC0#394AC0

#394AC0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.184 H 271.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#394AC0
RGBrgb(57, 74, 192)
HSLhsl(232, 54%, 49%)
HSVhsv(232, 70%, 75%)
CMYKcmyk(70.3%, 61.5%, 0%, 24.7%)
CIE-LABlab(37.06, 33.10, -63.82)
CIE-LCHlch(37.06, 71.90, 297.42°)
OKLaboklab(47.05% 0.0036 -0.1842)
OKLCHoklch(47.05% 0.184 271.1)
XYZxyz(13.6473, 9.5718, 50.9873)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AC0 #C0AF39
analogous
#398EC0 #394AC0 #6B39C0
triadic
#394AC0 #C0394A #4AC039
tetradic
#394AC0 #C0398E #C0AF39 #39C06B
square
#394AC0 #C0398E #C0AF39 #39C06B
split-complementary
#394AC0 #C06B39 #8EC039
monochromatic
#1D2662 #2B3891 #394AC0 #6573D1 #949EDF

Accessibility & contrast

On white

7.21
#394AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#394AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AC0
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AC0#FFFFFF#000000##FFFFFF
##394AC01.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394ac0;
/* rgb */ color: rgb(57, 74, 192);
/* oklch */ color: oklch(47.0% 0.184 271.1);
Tailwind
colors: {
  custom: {
    50: '#817cd4',
    500: '#394ac0',
    950: '#000000',
  },
}
SCSS
$custom: #394ac0;
$custom-light: #817cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#394ac0",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 232.444,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.18422,
    "h": 271.1
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#394AC0
secondary
#CBC28A
accent
#CB4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #394AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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