#394FC4#394FC4

#394FC4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.183 H 269.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#394FC4
RGBrgb(57, 79, 196)
HSLhsl(231, 55%, 50%)
HSVhsv(231, 71%, 77%)
CMYKcmyk(70.9%, 59.7%, 0%, 23.1%)
CIE-LABlab(38.63, 31.34, -63.60)
CIE-LCHlch(38.63, 70.90, 296.23°)
OKLaboklab(48.31% -0.0002 -0.1835)
OKLCHoklch(48.31% 0.183 269.9)
XYZxyz(14.4437, 10.4459, 53.4689)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FC4 #C4AE39
analogous
#3994C4 #394FC4 #6939C4
triadic
#394FC4 #C4394F #4FC439
tetradic
#394FC4 #C43994 #C4AE39 #39C469
square
#394FC4 #C43994 #C4AE39 #39C469
split-complementary
#394FC4 #C46939 #94C439
monochromatic
#1D2965 #2B3C95 #394FC4 #6778D3 #97A2E1

Accessibility & contrast

On white

6.80
#394FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#394FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FC4
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FC4#FFFFFF#000000##FFFFFF
##394FC41.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #394fc4;
/* rgb */ color: rgb(57, 79, 196);
/* oklch */ color: oklch(48.3% 0.183 269.9);
Tailwind
colors: {
  custom: {
    50: '#8180d7',
    500: '#394fc4',
    950: '#000000',
  },
}
SCSS
$custom: #394fc4;
$custom-light: #8180d7;
$custom-dark: #000000;
JSON
{
  "hex": "#394fc4",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 230.504,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48311,
    "c": 0.18348,
    "h": 269.9
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#394FC4
secondary
#CCC28D
accent
#C74ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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