#394CC2#394CC2

#394CC2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.184 H 270.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#394CC2
RGBrgb(57, 76, 194)
HSLhsl(232, 55%, 49%)
HSVhsv(232, 71%, 76%)
CMYKcmyk(70.6%, 60.8%, 0%, 23.9%)
CIE-LABlab(37.72, 32.54, -63.92)
CIE-LCHlch(37.72, 71.72, 296.98°)
OKLaboklab(47.59% 0.0021 -0.1844)
OKLCHoklch(47.59% 0.184 270.6)
XYZxyz(14.0061, 9.9324, 52.2075)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CC2 #C2AF39
analogous
#3991C2 #394CC2 #6B39C2
triadic
#394CC2 #C2394C #4CC239
tetradic
#394CC2 #C23991 #C2AF39 #39C26B
square
#394CC2 #C23991 #C2AF39 #39C26B
split-complementary
#394CC2 #C26B39 #91C239
monochromatic
#1D2763 #2B3993 #394CC2 #6675D2 #95A0E0

Accessibility & contrast

On white

7.03
#394CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#394CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CC2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CC2#FFFFFF#000000##FFFFFF
##394CC21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394cc2;
/* rgb */ color: rgb(57, 76, 194);
/* oklch */ color: oklch(47.6% 0.184 270.6);
Tailwind
colors: {
  custom: {
    50: '#817ed5',
    500: '#394cc2',
    950: '#000000',
  },
}
SCSS
$custom: #394cc2;
$custom-light: #817ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#394cc2",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 231.679,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47586,
    "c": 0.18446,
    "h": 270.6
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#394CC2
secondary
#CBC28B
accent
#C94ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #394CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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