#394CC1#394CC1

#394CC1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.183 H 270.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#394CC1
RGBrgb(57, 76, 193)
HSLhsl(232, 54%, 49%)
HSVhsv(232, 70%, 76%)
CMYKcmyk(70.5%, 60.6%, 0%, 24.3%)
CIE-LABlab(37.64, 32.18, -63.46)
CIE-LCHlch(37.64, 71.16, 296.89°)
OKLaboklab(47.5% 0.0021 -0.1831)
OKLCHoklch(47.5% 0.183 270.6)
XYZxyz(13.8941, 9.8876, 51.6180)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CC1 #C1AE39
analogous
#3990C1 #394CC1 #6A39C1
triadic
#394CC1 #C1394C #4CC139
tetradic
#394CC1 #C13990 #C1AE39 #39C16A
square
#394CC1 #C13990 #C1AE39 #39C16A
split-complementary
#394CC1 #C16A39 #90C139
monochromatic
#1D2763 #2B3992 #394CC1 #6675D2 #959FE0

Accessibility & contrast

On white

7.05
#394CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#394CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CC1
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CC1#FFFFFF#000000##FFFFFF
##394CC11.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394cc1;
/* rgb */ color: rgb(57, 76, 193);
/* oklch */ color: oklch(47.5% 0.183 270.6);
Tailwind
colors: {
  custom: {
    50: '#817ed5',
    500: '#394cc1',
    950: '#000000',
  },
}
SCSS
$custom: #394cc1;
$custom-light: #817ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#394cc1",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 231.618,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.18313,
    "h": 270.6
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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