#394BB5#394BB5

#394BB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.168 H 271.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#394BB5
RGBrgb(57, 75, 181)
HSLhsl(231, 52%, 47%)
HSVhsv(231, 69%, 71%)
CMYKcmyk(68.5%, 58.6%, 0%, 29%)
CIE-LABlab(36.44, 28.53, -58.38)
CIE-LCHlch(36.44, 64.98, 296.04°)
OKLaboklab(46.31% 0.0029 -0.1682)
OKLCHoklch(46.31% 0.168 271)
XYZxyz(12.5411, 9.2370, 44.8291)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BB5 #B5A339
analogous
#3989B5 #394BB5 #6539B5
triadic
#394BB5 #B5394B #4BB539
tetradic
#394BB5 #B53989 #B5A339 #39B565
square
#394BB5 #B53989 #B5A339 #39B565
split-complementary
#394BB5 #B56539 #89B539
monochromatic
#1C2458 #2A3886 #394BB5 #5F6FCD #8D99DB

Accessibility & contrast

On white

7.37
#394BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394BB5
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BB5#FFFFFF#000000##FFFFFF
##394BB51.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394bb5;
/* rgb */ color: rgb(57, 75, 181);
/* oklch */ color: oklch(46.3% 0.168 271.0);
Tailwind
colors: {
  custom: {
    50: '#7f7dcc',
    500: '#394bb5',
    950: '#000000',
  },
}
SCSS
$custom: #394bb5;
$custom-light: #7f7dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#394bb5",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 231.29,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.16822,
    "h": 271
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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