#394DB0#394DB0

#394DB0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.159 H 270.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#394DB0
RGBrgb(57, 77, 176)
HSLhsl(230, 51%, 46%)
HSVhsv(230, 68%, 69%)
CMYKcmyk(67.6%, 56.2%, 0%, 31%)
CIE-LABlab(36.58, 25.42, -55.19)
CIE-LCHlch(36.58, 60.77, 294.73°)
OKLaboklab(46.29% 0.001 -0.1588)
OKLCHoklch(46.29% 0.159 270.4)
XYZxyz(12.1750, 9.3111, 42.2215)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DB0 #B09C39
analogous
#3988B0 #394DB0 #6039B0
triadic
#394DB0 #B0394D #4DB039
tetradic
#394DB0 #B03988 #B09C39 #39B060
square
#394DB0 #B03988 #B09C39 #39B060
split-complementary
#394DB0 #B06039 #88B039
monochromatic
#1B2554 #2A3982 #394DB0 #5C6FCA #8A97D9

Accessibility & contrast

On white

7.34
#394DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394DB0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DB0#FFFFFF#000000##FFFFFF
##394DB01.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394db0;
/* rgb */ color: rgb(57, 77, 176);
/* oklch */ color: oklch(46.3% 0.159 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d7ec8',
    500: '#394db0',
    950: '#000000',
  },
}
SCSS
$custom: #394db0;
$custom-light: #7d7ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#394db0",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 176
  },
  "hsl": {
    "h": 229.916,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.15881,
    "h": 270.4
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#394DB0
secondary
#C4B881
accent
#C34DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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