#394ABF#394ABF

#394ABF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.183 H 271.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#394ABF
RGBrgb(57, 74, 191)
HSLhsl(232, 54%, 49%)
HSVhsv(232, 70%, 75%)
CMYKcmyk(70.2%, 61.3%, 0%, 25.1%)
CIE-LABlab(36.98, 32.75, -63.37)
CIE-LCHlch(36.98, 71.33, 297.33°)
OKLaboklab(46.96% 0.0036 -0.1829)
OKLCHoklch(46.96% 0.183 271.1)
XYZxyz(13.5369, 9.5277, 50.4057)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394ABF #BFAE39
analogous
#398DBF #394ABF #6B39BF
triadic
#394ABF #BF394A #4ABF39
tetradic
#394ABF #BF398D #BFAE39 #39BF6B
square
#394ABF #BF398D #BFAE39 #39BF6B
split-complementary
#394ABF #BF6B39 #8DBF39
monochromatic
#1D2561 #2B3890 #394ABF #6472D1 #939DDF

Accessibility & contrast

On white

7.23
#394ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#394ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394ABF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394ABF#FFFFFF#000000##FFFFFF
##394ABF1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394abf;
/* rgb */ color: rgb(57, 74, 191);
/* oklch */ color: oklch(47.0% 0.183 271.1);
Tailwind
colors: {
  custom: {
    50: '#817cd3',
    500: '#394abf',
    950: '#000000',
  },
}
SCSS
$custom: #394abf;
$custom-light: #817cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#394abf",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 232.388,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.18291,
    "h": 271.1
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#394ABF
secondary
#CAC28A
accent
#CB4ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #394ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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