#394DC2#394DC2

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

Color values

HEX#394DC2
RGBrgb(57, 77, 194)
HSLhsl(231, 55%, 49%)
HSVhsv(231, 71%, 76%)
CMYKcmyk(70.6%, 60.3%, 0%, 23.9%)
CIE-LABlab(37.97, 31.90, -63.51)
CIE-LCHlch(37.97, 71.07, 296.67°)
OKLaboklab(47.77% 0.0013 -0.1832)
OKLCHoklch(47.77% 0.183 270.4)
XYZxyz(14.0755, 10.0712, 52.2306)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DC2 #C2AE39
analogous
#3992C2 #394DC2 #6A39C2
triadic
#394DC2 #C2394D #4DC239
tetradic
#394DC2 #C23992 #C2AE39 #39C26A
square
#394DC2 #C23992 #C2AE39 #39C26A
split-complementary
#394DC2 #C26A39 #92C239
monochromatic
#1D2763 #2B3A93 #394DC2 #6676D2 #95A0E0

Accessibility & contrast

On white

6.97
#394DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#394DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394DC2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DC2#FFFFFF#000000##FFFFFF
##394DC21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394dc2;
/* rgb */ color: rgb(57, 77, 194);
/* oklch */ color: oklch(47.8% 0.183 270.4);
Tailwind
colors: {
  custom: {
    50: '#817ed5',
    500: '#394dc2',
    950: '#000000',
  },
}
SCSS
$custom: #394dc2;
$custom-light: #817ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#394dc2",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 231.241,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.18325,
    "h": 270.4
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#394DC2
secondary
#CBC28B
accent
#C84ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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