#394DC7#394DC7

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

Color values

HEX#394DC7
RGBrgb(57, 77, 199)
HSLhsl(232, 56%, 50%)
HSVhsv(232, 71%, 78%)
CMYKcmyk(71.4%, 61.3%, 0%, 22%)
CIE-LABlab(38.37, 33.69, -65.76)
CIE-LCHlch(38.37, 73.89, 297.13°)
OKLaboklab(48.2% 0.0012 -0.1898)
OKLCHoklch(48.2% 0.19 270.4)
XYZxyz(14.6465, 10.2996, 55.2379)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DC7 #C7B339
analogous
#3994C7 #394DC7 #6C39C7
triadic
#394DC7 #C7394D #4DC739
tetradic
#394DC7 #C73994 #C7B339 #39C76C
square
#394DC7 #C73994 #C7B339 #39C76C
split-complementary
#394DC7 #C76C39 #94C739
monochromatic
#1D2868 #2B3A98 #394DC7 #6978D4 #98A3E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##394DC7#FFFFFF#000000##FFFFFF
##394DC71.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)
#0061CB
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394dc7;
/* rgb */ color: rgb(57, 77, 199);
/* oklch */ color: oklch(48.2% 0.190 270.4);
Tailwind
colors: {
  custom: {
    50: '#827ed9',
    500: '#394dc7',
    950: '#000000',
  },
}
SCSS
$custom: #394dc7;
$custom-light: #827ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#394dc7",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 231.549,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48197,
    "c": 0.18985,
    "h": 270.4
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#394DC7
secondary
#CEC58E
accent
#CA49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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