#394BC1#394BC1

#394BC1 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.184 H 270.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#394BC1
RGBrgb(57, 75, 193)
HSLhsl(232, 54%, 49%)
HSVhsv(232, 70%, 76%)
CMYKcmyk(70.5%, 61.1%, 0%, 24.3%)
CIE-LABlab(37.39, 32.82, -63.87)
CIE-LCHlch(37.39, 71.81, 297.20°)
OKLaboklab(47.32% 0.0028 -0.1843)
OKLCHoklch(47.32% 0.184 270.9)
XYZxyz(13.8258, 9.7509, 51.5952)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BC1 #C1AF39
analogous
#398FC1 #394BC1 #6B39C1
triadic
#394BC1 #C1394B #4BC139
tetradic
#394BC1 #C1398F #C1AF39 #39C16B
square
#394BC1 #C1398F #C1AF39 #39C16B
split-complementary
#394BC1 #C16B39 #8FC139
monochromatic
#1D2663 #2B3992 #394BC1 #6674D2 #959FE0

Accessibility & contrast

On white

7.12
#394BC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#394BC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BC1
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BC1#FFFFFF#000000##FFFFFF
##394BC11.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#00697F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394bc1;
/* rgb */ color: rgb(57, 75, 193);
/* oklch */ color: oklch(47.3% 0.184 270.9);
Tailwind
colors: {
  custom: {
    50: '#817dd5',
    500: '#394bc1',
    950: '#000000',
  },
}
SCSS
$custom: #394bc1;
$custom-light: #817dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#394bc1",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 232.059,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47318,
    "c": 0.18434,
    "h": 270.9
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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