#394BB7#394BB7

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

Color values

HEX#394BB7
RGBrgb(57, 75, 183)
HSLhsl(231, 53%, 47%)
HSVhsv(231, 69%, 72%)
CMYKcmyk(68.9%, 59%, 0%, 28.2%)
CIE-LABlab(36.59, 29.25, -59.30)
CIE-LCHlch(36.59, 66.12, 296.25°)
OKLaboklab(46.48% 0.0029 -0.1709)
OKLCHoklch(46.48% 0.171 271)
XYZxyz(12.7478, 9.3197, 45.9176)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BB7 #B7A539
analogous
#398AB7 #394BB7 #6639B7
triadic
#394BB7 #B7394B #4BB739
tetradic
#394BB7 #B7398A #B7A539 #39B766
square
#394BB7 #B7398A #B7A539 #39B766
split-complementary
#394BB7 #B76639 #8AB739
monochromatic
#1C255A #2A3888 #394BB7 #606FCD #8E9ADC

Accessibility & contrast

On white

7.33
#394BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394BB7
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BB7#FFFFFF#000000##FFFFFF
##394BB71.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394bb7;
/* rgb */ color: rgb(57, 75, 183);
/* oklch */ color: oklch(46.5% 0.171 271.0);
Tailwind
colors: {
  custom: {
    50: '#7f7dcd',
    500: '#394bb7',
    950: '#000000',
  },
}
SCSS
$custom: #394bb7;
$custom-light: #7f7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#394bb7",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 231.429,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.17094,
    "h": 271
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#394BB7
secondary
#C7BD85
accent
#C74CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #394BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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