#394EC0#394EC0

#394EC0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.179 H 270.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#394EC0
RGBrgb(57, 78, 192)
HSLhsl(231, 54%, 49%)
HSVhsv(231, 70%, 75%)
CMYKcmyk(70.3%, 59.4%, 0%, 24.7%)
CIE-LABlab(38.06, 30.55, -62.19)
CIE-LCHlch(38.06, 69.29, 296.16°)
OKLaboklab(47.79% 0.0006 -0.1794)
OKLCHoklch(47.79% 0.179 270.2)
XYZxyz(13.9229, 10.1230, 51.0791)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EC0 #C0AB39
analogous
#3992C0 #394EC0 #6839C0
triadic
#394EC0 #C0394E #4EC039
tetradic
#394EC0 #C03992 #C0AB39 #39C068
square
#394EC0 #C03992 #C0AB39 #39C068
split-complementary
#394EC0 #C06839 #92C039
monochromatic
#1D2862 #2B3B91 #394EC0 #6576D1 #94A0DF

Accessibility & contrast

On white

6.94
#394EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #394EC0
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EC0#FFFFFF#000000##FFFFFF
##394EC01.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394ec0;
/* rgb */ color: rgb(57, 78, 192);
/* oklch */ color: oklch(47.8% 0.179 270.2);
Tailwind
colors: {
  custom: {
    50: '#817fd4',
    500: '#394ec0',
    950: '#000000',
  },
}
SCSS
$custom: #394ec0;
$custom-light: #817fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#394ec0",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 230.667,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4779,
    "c": 0.17936,
    "h": 270.2
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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