#394AB2#394AB2

#394AB2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.165 H 271.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#394AB2
RGBrgb(57, 74, 178)
HSLhsl(232, 51%, 46%)
HSVhsv(232, 68%, 70%)
CMYKcmyk(68%, 58.4%, 0%, 30.2%)
CIE-LABlab(35.95, 28.10, -57.40)
CIE-LCHlch(35.95, 63.91, 296.08°)
OKLaboklab(45.87% 0.0037 -0.1653)
OKLCHoklch(45.87% 0.165 271.3)
XYZxyz(12.1693, 8.9806, 43.2030)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AB2 #B2A139
analogous
#3986B2 #394AB2 #6439B2
triadic
#394AB2 #B2394A #4AB239
tetradic
#394AB2 #B23986 #B2A139 #39B264
square
#394AB2 #B23986 #B2A139 #39B264
split-complementary
#394AB2 #B26439 #86B239
monochromatic
#1B2355 #2A3784 #394AB2 #5D6DCB #8B96DA

Accessibility & contrast

On white

7.51
#394AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#394AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AB2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AB2#FFFFFF#000000##FFFFFF
##394AB21.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394ab2;
/* rgb */ color: rgb(57, 74, 178);
/* oklch */ color: oklch(45.9% 0.165 271.3);
Tailwind
colors: {
  custom: {
    50: '#7e7cca',
    500: '#394ab2',
    950: '#000000',
  },
}
SCSS
$custom: #394ab2;
$custom-light: #7e7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#394ab2",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 231.57,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.16538,
    "h": 271.3
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#394AB2
secondary
#C4BB82
accent
#C74DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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