#394AB9#394AB9

#394AB9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.175 H 271.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#394AB9
RGBrgb(57, 74, 185)
HSLhsl(232, 53%, 47%)
HSVhsv(232, 69%, 73%)
CMYKcmyk(69.2%, 60%, 0%, 27.5%)
CIE-LABlab(36.50, 30.61, -60.64)
CIE-LCHlch(36.50, 67.92, 296.78°)
OKLaboklab(46.45% 0.0037 -0.1748)
OKLCHoklch(46.45% 0.175 271.2)
XYZxyz(12.8901, 9.2690, 46.9993)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AB9 #B9A839
analogous
#398AB9 #394AB9 #6839B9
triadic
#394AB9 #B9394A #4AB939
tetradic
#394AB9 #B9398A #B9A839 #39B968
square
#394AB9 #B9398A #B9A839 #39B968
split-complementary
#394AB9 #B96839 #8AB939
monochromatic
#1C255B #2B378A #394AB9 #616FCE #909ADD

Accessibility & contrast

On white

7.36
#394AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#394AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AB9
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AB9#FFFFFF#000000##FFFFFF
##394AB91.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394ab9;
/* rgb */ color: rgb(57, 74, 185);
/* oklch */ color: oklch(46.5% 0.175 271.2);
Tailwind
colors: {
  custom: {
    50: '#807ccf',
    500: '#394ab9',
    950: '#000000',
  },
}
SCSS
$custom: #394ab9;
$custom-light: #807ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#394ab9",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 232.031,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46454,
    "c": 0.17488,
    "h": 271.2
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#394AB9
secondary
#C8BF86
accent
#C94BDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #394AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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