#394AC1#394AC1

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

Color values

HEX#394AC1
RGBrgb(57, 74, 193)
HSLhsl(233, 54%, 49%)
HSVhsv(233, 70%, 76%)
CMYKcmyk(70.5%, 61.7%, 0%, 24.3%)
CIE-LABlab(37.14, 33.46, -64.27)
CIE-LCHlch(37.14, 72.46, 297.50°)
OKLaboklab(47.14% 0.0036 -0.1855)
OKLCHoklch(47.14% 0.186 271.1)
XYZxyz(13.7585, 9.6163, 51.5728)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AC1 #C1B039
analogous
#398EC1 #394AC1 #6C39C1
triadic
#394AC1 #C1394A #4AC139
tetradic
#394AC1 #C1398E #C1B039 #39C16C
square
#394AC1 #C1398E #C1B039 #39C16C
split-complementary
#394AC1 #C16C39 #8EC139
monochromatic
#1D2663 #2B3892 #394AC1 #6673D2 #959EE0

Accessibility & contrast

On white

7.18
#394AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#394AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AC1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AC1#FFFFFF#000000##FFFFFF
##394AC11.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394ac1;
/* rgb */ color: rgb(57, 74, 193);
/* oklch */ color: oklch(47.1% 0.186 271.1);
Tailwind
colors: {
  custom: {
    50: '#817cd5',
    500: '#394ac1',
    950: '#000000',
  },
}
SCSS
$custom: #394ac1;
$custom-light: #817cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#394ac1",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 232.5,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47135,
    "c": 0.18555,
    "h": 271.1
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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