#394CB7#394CB7

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

Color values

HEX#394CB7
RGBrgb(57, 76, 183)
HSLhsl(231, 53%, 47%)
HSVhsv(231, 69%, 72%)
CMYKcmyk(68.9%, 58.5%, 0%, 28.2%)
CIE-LABlab(36.85, 28.60, -58.89)
CIE-LCHlch(36.85, 65.47, 295.90°)
OKLaboklab(46.67% 0.0021 -0.1697)
OKLCHoklch(46.67% 0.17 270.7)
XYZxyz(12.8161, 9.4564, 45.9404)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CB7 #B7A439
analogous
#398BB7 #394CB7 #6539B7
triadic
#394CB7 #B7394C #4CB739
tetradic
#394CB7 #B7398B #B7A439 #39B765
square
#394CB7 #B7398B #B7A439 #39B765
split-complementary
#394CB7 #B76539 #8BB739
monochromatic
#1C255A #2A3988 #394CB7 #6070CD #8E9ADC

Accessibility & contrast

On white

7.26
#394CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#394CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CB7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CB7#FFFFFF#000000##FFFFFF
##394CB71.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394cb7;
/* rgb */ color: rgb(57, 76, 183);
/* oklch */ color: oklch(46.7% 0.170 270.7);
Tailwind
colors: {
  custom: {
    50: '#7f7dcd',
    500: '#394cb7',
    950: '#000000',
  },
}
SCSS
$custom: #394cb7;
$custom-light: #7f7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#394cb7",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 230.952,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46666,
    "c": 0.16969,
    "h": 270.7
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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