#394AAD#394AAD

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

Color values

HEX#394AAD
RGBrgb(57, 74, 173)
HSLhsl(231, 50%, 45%)
HSVhsv(231, 67%, 68%)
CMYKcmyk(67.1%, 57.2%, 0%, 32.2%)
CIE-LABlab(35.56, 26.30, -55.06)
CIE-LCHlch(35.56, 61.02, 295.53°)
OKLaboklab(45.47% 0.0036 -0.1584)
OKLCHoklch(45.47% 0.158 271.3)
XYZxyz(11.6764, 8.7835, 40.6071)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AAD #AD9C39
analogous
#3984AD #394AAD #6239AD
triadic
#394AAD #AD394A #4AAD39
tetradic
#394AAD #AD3984 #AD9C39 #39AD62
square
#394AAD #AD3984 #AD9C39 #39AD62
split-complementary
#394AAD #AD6239 #84AD39
monochromatic
#1B2351 #2A367F #394AAD #5A6BC9 #8894D8

Accessibility & contrast

On white

7.62
#394AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394AAD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AAD#FFFFFF#000000##FFFFFF
##394AAD1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394aad;
/* rgb */ color: rgb(57, 74, 173);
/* oklch */ color: oklch(45.5% 0.158 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d7cc6',
    500: '#394aad',
    950: '#000000',
  },
}
SCSS
$custom: #394aad;
$custom-light: #7d7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#394aad",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 173
  },
  "hsl": {
    "h": 231.207,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45467,
    "c": 0.15848,
    "h": 271.3
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#394AAD
secondary
#C2B880
accent
#C54EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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