#394CC6#394CC6

#394CC6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.190 H 270.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#394CC6
RGBrgb(57, 76, 198)
HSLhsl(232, 55%, 50%)
HSVhsv(232, 71%, 78%)
CMYKcmyk(71.2%, 61.6%, 0%, 22.4%)
CIE-LABlab(38.05, 33.97, -65.71)
CIE-LCHlch(38.05, 73.97, 297.33°)
OKLaboklab(47.93% 0.002 -0.1897)
OKLCHoklch(47.93% 0.19 270.6)
XYZxyz(14.4614, 10.1145, 54.6053)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CC6 #C6B339
analogous
#3992C6 #394CC6 #6D39C6
triadic
#394CC6 #C6394C #4CC639
tetradic
#394CC6 #C63992 #C6B339 #39C66D
square
#394CC6 #C63992 #C6B339 #39C66D
split-complementary
#394CC6 #C66D39 #92C639
monochromatic
#1E2867 #2B3A96 #394CC6 #6977D4 #98A2E1

Accessibility & contrast

On white

6.95
#394CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#394CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394CC6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CC6#FFFFFF#000000##FFFFFF
##394CC61.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394cc6;
/* rgb */ color: rgb(57, 76, 198);
/* oklch */ color: oklch(47.9% 0.190 270.6);
Tailwind
colors: {
  custom: {
    50: '#827ed8',
    500: '#394cc6',
    950: '#000000',
  },
}
SCSS
$custom: #394cc6;
$custom-light: #827ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#394cc6",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 198
  },
  "hsl": {
    "h": 231.915,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.18974,
    "h": 270.6
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#394CC6
secondary
#CDC48E
accent
#CA49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #394CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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