#394AB3#394AB3

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

Color values

HEX#394AB3
RGBrgb(57, 74, 179)
HSLhsl(232, 52%, 46%)
HSVhsv(232, 68%, 70%)
CMYKcmyk(68.2%, 58.7%, 0%, 29.8%)
CIE-LABlab(36.02, 28.46, -57.87)
CIE-LCHlch(36.02, 64.49, 296.19°)
OKLaboklab(45.96% 0.0037 -0.1667)
OKLCHoklch(45.96% 0.167 271.3)
XYZxyz(12.2701, 9.0209, 43.7337)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AB3 #B3A239
analogous
#3987B3 #394AB3 #6539B3
triadic
#394AB3 #B3394A #4AB339
tetradic
#394AB3 #B33987 #B3A239 #39B365
square
#394AB3 #B33987 #B3A239 #39B365
split-complementary
#394AB3 #B36539 #87B339
monochromatic
#1B2456 #2A3785 #394AB3 #5E6DCC #8C97DA

Accessibility & contrast

On white

7.49
#394AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394AB3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AB3#FFFFFF#000000##FFFFFF
##394AB31.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394ab3;
/* rgb */ color: rgb(57, 74, 179);
/* oklch */ color: oklch(46.0% 0.167 271.3);
Tailwind
colors: {
  custom: {
    50: '#7e7ccb',
    500: '#394ab3',
    950: '#000000',
  },
}
SCSS
$custom: #394ab3;
$custom-light: #7e7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#394ab3",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 231.639,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45955,
    "c": 0.16674,
    "h": 271.3
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#394AB3
secondary
#C5BC83
accent
#C74DDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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