#394FC1#394FC1

#394FC1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.179 H 269.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#394FC1
RGBrgb(57, 79, 193)
HSLhsl(230, 54%, 49%)
HSVhsv(230, 70%, 76%)
CMYKcmyk(70.5%, 59.1%, 0%, 24.3%)
CIE-LABlab(38.39, 30.26, -62.23)
CIE-LCHlch(38.39, 69.20, 295.93°)
OKLaboklab(48.06% -0.0002 -0.1795)
OKLCHoklch(48.06% 0.179 269.9)
XYZxyz(14.1057, 10.3107, 51.6885)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FC1 #C1AB39
analogous
#3993C1 #394FC1 #6739C1
triadic
#394FC1 #C1394F #4FC139
tetradic
#394FC1 #C13993 #C1AB39 #39C167
square
#394FC1 #C13993 #C1AB39 #39C167
split-complementary
#394FC1 #C16739 #93C139
monochromatic
#1D2863 #2B3C92 #394FC1 #6677D2 #95A1E0

Accessibility & contrast

On white

6.86
#394FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#394FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FC1
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FC1#FFFFFF#000000##FFFFFF
##394FC11.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394fc1;
/* rgb */ color: rgb(57, 79, 193);
/* oklch */ color: oklch(48.1% 0.179 269.9);
Tailwind
colors: {
  custom: {
    50: '#8180d5',
    500: '#394fc1',
    950: '#000000',
  },
}
SCSS
$custom: #394fc1;
$custom-light: #8180d5;
$custom-dark: #000000;
JSON
{
  "hex": "#394fc1",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 193
  },
  "hsl": {
    "h": 230.294,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48061,
    "c": 0.17948,
    "h": 269.9
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#394FC1
secondary
#CBC18B
accent
#C64ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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