#394BB6#394BB6

#394BB6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.170 H 271.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#394BB6
RGBrgb(57, 75, 182)
HSLhsl(231, 52%, 47%)
HSVhsv(231, 69%, 71%)
CMYKcmyk(68.7%, 58.8%, 0%, 28.6%)
CIE-LABlab(36.51, 28.89, -58.84)
CIE-LCHlch(36.51, 65.55, 296.15°)
OKLaboklab(46.39% 0.0029 -0.1696)
OKLCHoklch(46.39% 0.17 271)
XYZxyz(12.6441, 9.2782, 45.3714)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BB6 #B6A439
analogous
#398AB6 #394BB6 #6639B6
triadic
#394BB6 #B6394B #4BB639
tetradic
#394BB6 #B6398A #B6A439 #39B666
square
#394BB6 #B6398A #B6A439 #39B666
split-complementary
#394BB6 #B66639 #8AB639
monochromatic
#1C2559 #2A3887 #394BB6 #5F6FCD #8E99DC

Accessibility & contrast

On white

7.35
#394BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#394BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BB6
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BB6#FFFFFF#000000##FFFFFF
##394BB61.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394bb6;
/* rgb */ color: rgb(57, 75, 182);
/* oklch */ color: oklch(46.4% 0.170 271.0);
Tailwind
colors: {
  custom: {
    50: '#7f7dcd',
    500: '#394bb6',
    950: '#000000',
  },
}
SCSS
$custom: #394bb6;
$custom-light: #7f7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#394bb6",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 231.36,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.16958,
    "h": 271
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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