#394CC4#394CC4

#394CC4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.187 H 270.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#394CC4
RGBrgb(57, 76, 196)
HSLhsl(232, 55%, 50%)
HSVhsv(232, 71%, 77%)
CMYKcmyk(70.9%, 61.2%, 0%, 23.1%)
CIE-LABlab(37.88, 33.25, -64.82)
CIE-LCHlch(37.88, 72.85, 297.16°)
OKLaboklab(47.76% 0.002 -0.1871)
OKLCHoklch(47.76% 0.187 270.6)
XYZxyz(14.2322, 10.0228, 53.3984)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CC4 #C4B139
analogous
#3991C4 #394CC4 #6C39C4
triadic
#394CC4 #C4394C #4CC439
tetradic
#394CC4 #C43991 #C4B139 #39C46C
square
#394CC4 #C43991 #C4B139 #39C46C
split-complementary
#394CC4 #C46C39 #91C439
monochromatic
#1D2765 #2B3A95 #394CC4 #6776D3 #97A1E1

Accessibility & contrast

On white

6.99
#394CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#394CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394CC4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CC4#FFFFFF#000000##FFFFFF
##394CC41.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394cc4;
/* rgb */ color: rgb(57, 76, 196);
/* oklch */ color: oklch(47.8% 0.187 270.6);
Tailwind
colors: {
  custom: {
    50: '#827ed7',
    500: '#394cc4',
    950: '#000000',
  },
}
SCSS
$custom: #394cc4;
$custom-light: #827ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#394cc4",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 231.799,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.1871,
    "h": 270.6
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#394CC4
secondary
#CCC38D
accent
#CA4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #394CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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