#394CB1#394CB1

#394CB1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.161 H 270.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#394CB1
RGBrgb(57, 76, 177)
HSLhsl(231, 51%, 46%)
HSVhsv(231, 68%, 69%)
CMYKcmyk(67.8%, 57.1%, 0%, 30.6%)
CIE-LABlab(36.39, 26.44, -56.09)
CIE-LCHlch(36.39, 62.01, 295.24°)
OKLaboklab(46.18% 0.0019 -0.1615)
OKLCHoklch(46.18% 0.161 270.7)
XYZxyz(12.2049, 9.2119, 42.7213)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CB1 #B19E39
analogous
#3988B1 #394CB1 #6239B1
triadic
#394CB1 #B1394C #4CB139
tetradic
#394CB1 #B13988 #B19E39 #39B162
square
#394CB1 #B13988 #B19E39 #39B162
split-complementary
#394CB1 #B16239 #88B139
monochromatic
#1B2454 #2A3883 #394CB1 #5D6ECB #8B97DA

Accessibility & contrast

On white

7.39
#394CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#394CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CB1
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CB1#FFFFFF#000000##FFFFFF
##394CB11.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394cb1;
/* rgb */ color: rgb(57, 76, 177);
/* oklch */ color: oklch(46.2% 0.161 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e7dc9',
    500: '#394cb1',
    950: '#000000',
  },
}
SCSS
$custom: #394cb1;
$custom-light: #7e7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#394cb1",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 230.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.16147,
    "h": 270.7
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#394CB1
secondary
#C4B982
accent
#C44DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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