#394BB1#394BB1

#394BB1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.163 H 271.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#394BB1
RGBrgb(57, 75, 177)
HSLhsl(231, 51%, 46%)
HSVhsv(231, 68%, 69%)
CMYKcmyk(67.8%, 57.6%, 0%, 30.6%)
CIE-LABlab(36.13, 27.09, -56.51)
CIE-LCHlch(36.13, 62.67, 295.61°)
OKLaboklab(45.98% 0.0028 -0.1627)
OKLCHoklch(45.98% 0.163 271)
XYZxyz(12.1365, 9.0752, 42.6985)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BB1 #B19F39
analogous
#3987B1 #394BB1 #6339B1
triadic
#394BB1 #B1394B #4BB139
tetradic
#394BB1 #B13987 #B19F39 #39B163
square
#394BB1 #B13987 #B19F39 #39B163
split-complementary
#394BB1 #B16339 #87B139
monochromatic
#1B2454 #2A3783 #394BB1 #5D6DCB #8B97DA

Accessibility & contrast

On white

7.46
#394BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#394BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BB1
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BB1#FFFFFF#000000##FFFFFF
##394BB11.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394bb1;
/* rgb */ color: rgb(57, 75, 177);
/* oklch */ color: oklch(46.0% 0.163 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e7dc9',
    500: '#394bb1',
    950: '#000000',
  },
}
SCSS
$custom: #394bb1;
$custom-light: #7e7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#394bb1",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 231,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45984,
    "c": 0.16274,
    "h": 271
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#394BB1
secondary
#C4BA82
accent
#C54DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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