#394CB9#394CB9

#394CB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.172 H 270.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#394CB9
RGBrgb(57, 76, 185)
HSLhsl(231, 53%, 47%)
HSVhsv(231, 69%, 73%)
CMYKcmyk(69.2%, 58.9%, 0%, 27.5%)
CIE-LABlab(37.00, 29.32, -59.81)
CIE-LCHlch(37.00, 66.61, 296.11°)
OKLaboklab(46.83% 0.0021 -0.1724)
OKLCHoklch(46.83% 0.172 270.7)
XYZxyz(13.0258, 9.5403, 47.0445)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CB9 #B9A639
analogous
#398CB9 #394CB9 #6639B9
triadic
#394CB9 #B9394C #4CB939
tetradic
#394CB9 #B9398C #B9A639 #39B966
square
#394CB9 #B9398C #B9A639 #39B966
split-complementary
#394CB9 #B96639 #8CB939
monochromatic
#1C265B #2B398A #394CB9 #6171CE #909BDD

Accessibility & contrast

On white

7.22
#394CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#394CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CB9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CB9#FFFFFF#000000##FFFFFF
##394CB91.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394cb9;
/* rgb */ color: rgb(57, 76, 185);
/* oklch */ color: oklch(46.8% 0.172 270.7);
Tailwind
colors: {
  custom: {
    50: '#7f7dcf',
    500: '#394cb9',
    950: '#000000',
  },
}
SCSS
$custom: #394cb9;
$custom-light: #7f7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#394cb9",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 231.094,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46831,
    "c": 0.1724,
    "h": 270.7
  },
  "luminance": 0.09542
}

Semantic roles & 50–950 ramp

primary
#394CB9
secondary
#C8BE86
accent
#C74BDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #394CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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