#394CB5#394CB5

#394CB5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.167 H 270.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#394CB5
RGBrgb(57, 76, 181)
HSLhsl(231, 52%, 47%)
HSVhsv(231, 69%, 71%)
CMYKcmyk(68.5%, 58%, 0%, 29%)
CIE-LABlab(36.69, 27.88, -57.96)
CIE-LCHlch(36.69, 64.32, 295.69°)
OKLaboklab(46.5% 0.002 -0.1669)
OKLCHoklch(46.5% 0.167 270.7)
XYZxyz(12.6094, 9.3737, 44.8519)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CB5 #B5A239
analogous
#398AB5 #394CB5 #6439B5
triadic
#394CB5 #B5394C #4CB539
tetradic
#394CB5 #B5398A #B5A239 #39B564
square
#394CB5 #B5398A #B5A239 #39B564
split-complementary
#394CB5 #B56439 #8AB539
monochromatic
#1C2558 #2A3886 #394CB5 #5F70CD #8D99DB

Accessibility & contrast

On white

7.30
#394CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#394CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CB5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CB5#FFFFFF#000000##FFFFFF
##394CB51.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394cb5;
/* rgb */ color: rgb(57, 76, 181);
/* oklch */ color: oklch(46.5% 0.167 270.7);
Tailwind
colors: {
  custom: {
    50: '#7f7dcc',
    500: '#394cb5',
    950: '#000000',
  },
}
SCSS
$custom: #394cb5;
$custom-light: #7f7dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#394cb5",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 230.806,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46503,
    "c": 0.16696,
    "h": 270.7
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#394CB5
secondary
#C6BC84
accent
#C64CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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