#394AAE#394AAE

#394AAE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.160 H 271.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#394AAE
RGBrgb(57, 74, 174)
HSLhsl(231, 51%, 45%)
HSVhsv(231, 67%, 68%)
CMYKcmyk(67.2%, 57.5%, 0%, 31.8%)
CIE-LABlab(35.64, 26.66, -55.53)
CIE-LCHlch(35.64, 61.60, 295.65°)
OKLaboklab(45.55% 0.0036 -0.1598)
OKLCHoklch(45.55% 0.16 271.3)
XYZxyz(11.7735, 8.8223, 41.1186)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AAE #AE9D39
analogous
#3984AE #394AAE #6239AE
triadic
#394AAE #AE394A #4AAE39
tetradic
#394AAE #AE3984 #AE9D39 #39AE62
square
#394AAE #AE3984 #AE9D39 #39AE62
split-complementary
#394AAE #AE6239 #84AE39
monochromatic
#1B2352 #2A3680 #394AAE #5B6BC9 #8995D8

Accessibility & contrast

On white

7.60
#394AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#394AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AAE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AAE#FFFFFF#000000##FFFFFF
##394AAE1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394aae;
/* rgb */ color: rgb(57, 74, 174);
/* oklch */ color: oklch(45.5% 0.160 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d7cc7',
    500: '#394aae',
    950: '#000000',
  },
}
SCSS
$custom: #394aae;
$custom-light: #7d7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#394aae",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 231.282,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.15987,
    "h": 271.3
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#394AAE
secondary
#C3B980
accent
#C64EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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