#394DC4#394DC4

#394DC4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.186 H 270.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#394DC4
RGBrgb(57, 77, 196)
HSLhsl(231, 55%, 50%)
HSVhsv(231, 71%, 77%)
CMYKcmyk(70.9%, 60.7%, 0%, 23.1%)
CIE-LABlab(38.13, 32.62, -64.41)
CIE-LCHlch(38.13, 72.20, 296.86°)
OKLaboklab(47.94% 0.0013 -0.1859)
OKLCHoklch(47.94% 0.186 270.4)
XYZxyz(14.3016, 10.1617, 53.4215)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DC4 #C4B039
analogous
#3993C4 #394DC4 #6B39C4
triadic
#394DC4 #C4394D #4DC439
tetradic
#394DC4 #C43993 #C4B039 #39C46B
square
#394DC4 #C43993 #C4B039 #39C46B
split-complementary
#394DC4 #C46B39 #93C439
monochromatic
#1D2865 #2B3A95 #394DC4 #6777D3 #97A1E1

Accessibility & contrast

On white

6.92
#394DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#394DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394DC4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DC4#FFFFFF#000000##FFFFFF
##394DC41.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394dc4;
/* rgb */ color: rgb(57, 77, 196);
/* oklch */ color: oklch(47.9% 0.186 270.4);
Tailwind
colors: {
  custom: {
    50: '#827ed7',
    500: '#394dc4',
    950: '#000000',
  },
}
SCSS
$custom: #394dc4;
$custom-light: #827ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#394dc4",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 231.367,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47941,
    "c": 0.1859,
    "h": 270.4
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#394DC4
secondary
#CCC38D
accent
#C94ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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