#394AA5#394AA5

#394AA5 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.147 H 271.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#394AA5
RGBrgb(57, 74, 165)
HSLhsl(231, 49%, 44%)
HSVhsv(231, 65%, 65%)
CMYKcmyk(65.5%, 55.2%, 0%, 35.3%)
CIE-LABlab(34.97, 23.41, -51.25)
CIE-LCHlch(34.97, 56.34, 294.56°)
OKLaboklab(44.83% 0.0032 -0.1472)
OKLCHoklch(44.83% 0.147 271.3)
XYZxyz(10.9254, 8.4831, 36.6517)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AA5 #A59439
analogous
#3980A5 #394AA5 #5E39A5
triadic
#394AA5 #A5394A #4AA539
tetradic
#394AA5 #A53980 #A59439 #39A55E
square
#394AA5 #A53980 #A59439 #39A55E
split-complementary
#394AA5 #A55E39 #80A539
monochromatic
#1A214A #293678 #394AA5 #5668C5 #8491D4

Accessibility & contrast

On white

7.79
#394AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#394AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AA5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AA5#FFFFFF#000000##FFFFFF
##394AA51.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0457A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #394aa5;
/* rgb */ color: rgb(57, 74, 165);
/* oklch */ color: oklch(44.8% 0.147 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b7cc0',
    500: '#394aa5',
    950: '#000000',
  },
}
SCSS
$custom: #394aa5;
$custom-light: #7b7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#394aa5",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 230.556,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.14728,
    "h": 271.3
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#394AA5
secondary
#BEB47B
accent
#C350D8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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