#394DC6#394DC6

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

Color values

HEX#394DC6
RGBrgb(57, 77, 198)
HSLhsl(231, 55%, 50%)
HSVhsv(231, 71%, 78%)
CMYKcmyk(71.2%, 61.1%, 0%, 22.4%)
CIE-LABlab(38.29, 33.33, -65.31)
CIE-LCHlch(38.29, 73.33, 297.04°)
OKLaboklab(48.11% 0.0013 -0.1885)
OKLCHoklch(48.11% 0.189 270.4)
XYZxyz(14.5308, 10.2534, 54.6284)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DC6 #C6B239
analogous
#3994C6 #394DC6 #6B39C6
triadic
#394DC6 #C6394D #4DC639
tetradic
#394DC6 #C63994 #C6B239 #39C66B
square
#394DC6 #C63994 #C6B239 #39C66B
split-complementary
#394DC6 #C66B39 #94C639
monochromatic
#1E2867 #2B3B96 #394DC6 #6978D4 #98A2E1

Accessibility & contrast

On white

6.88
#394DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#394DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394DC6
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DC6#FFFFFF#000000##FFFFFF
##394DC61.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394dc6;
/* rgb */ color: rgb(57, 77, 198);
/* oklch */ color: oklch(48.1% 0.189 270.4);
Tailwind
colors: {
  custom: {
    50: '#827ed8',
    500: '#394dc6',
    950: '#000000',
  },
}
SCSS
$custom: #394dc6;
$custom-light: #827ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#394dc6",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 231.489,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.18854,
    "h": 270.4
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#394DC6
secondary
#CDC48E
accent
#C949DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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