#394BC6#394BC6

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

Color values

HEX#394BC6
RGBrgb(57, 75, 198)
HSLhsl(232, 55%, 50%)
HSVhsv(232, 71%, 78%)
CMYKcmyk(71.2%, 62.1%, 0%, 22.4%)
CIE-LABlab(37.80, 34.60, -66.11)
CIE-LCHlch(37.80, 74.62, 297.62°)
OKLaboklab(47.75% 0.0027 -0.1909)
OKLCHoklch(47.75% 0.191 270.8)
XYZxyz(14.3930, 9.9778, 54.5825)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BC6 #C6B439
analogous
#3992C6 #394BC6 #6D39C6
triadic
#394BC6 #C6394B #4BC639
tetradic
#394BC6 #C63992 #C6B439 #39C66D
square
#394BC6 #C63992 #C6B439 #39C66D
split-complementary
#394BC6 #C66D39 #92C639
monochromatic
#1E2767 #2B3996 #394BC6 #6976D4 #98A1E1

Accessibility & contrast

On white

7.01
#394BC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394BC6
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BC6#FFFFFF#000000##FFFFFF
##394BC61.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394bc6;
/* rgb */ color: rgb(57, 75, 198);
/* oklch */ color: oklch(47.7% 0.191 270.8);
Tailwind
colors: {
  custom: {
    50: '#827dd8',
    500: '#394bc6',
    950: '#000000',
  },
}
SCSS
$custom: #394bc6;
$custom-light: #827dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#394bc6",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 232.34,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.47749,
    "c": 0.19093,
    "h": 270.8
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#394BC6
secondary
#CDC58E
accent
#CC49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #394BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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