#394DC1#394DC1

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

Color values

HEX#394DC1
RGBrgb(57, 77, 193)
HSLhsl(231, 54%, 49%)
HSVhsv(231, 70%, 76%)
CMYKcmyk(70.5%, 60.1%, 0%, 24.3%)
CIE-LABlab(37.89, 31.55, -63.06)
CIE-LCHlch(37.89, 70.51, 296.58°)
OKLaboklab(47.69% 0.0013 -0.1819)
OKLCHoklch(47.69% 0.182 270.4)
XYZxyz(13.9636, 10.0265, 51.6411)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DC1 #C1AD39
analogous
#3991C1 #394DC1 #6939C1
triadic
#394DC1 #C1394D #4DC139
tetradic
#394DC1 #C13991 #C1AD39 #39C169
square
#394DC1 #C13991 #C1AD39 #39C169
split-complementary
#394DC1 #C16939 #91C139
monochromatic
#1D2763 #2B3A92 #394DC1 #6675D2 #95A0E0

Accessibility & contrast

On white

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

On black

3.01
#394DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##394DC1#FFFFFF#000000##FFFFFF
##394DC11.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394dc1;
/* rgb */ color: rgb(57, 77, 193);
/* oklch */ color: oklch(47.7% 0.182 270.4);
Tailwind
colors: {
  custom: {
    50: '#817ed5',
    500: '#394dc1',
    950: '#000000',
  },
}
SCSS
$custom: #394dc1;
$custom-light: #817ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#394dc1",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 231.176,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47687,
    "c": 0.18192,
    "h": 270.4
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#394DC1
secondary
#CBC28B
accent
#C84ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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