#394AA1#394AA1

#394AA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.142 H 271.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#394AA1
RGBrgb(57, 74, 161)
HSLhsl(230, 48%, 43%)
HSVhsv(230, 65%, 63%)
CMYKcmyk(64.6%, 54%, 0%, 36.9%)
CIE-LABlab(34.68, 21.97, -49.32)
CIE-LCHlch(34.68, 53.99, 294.01°)
OKLaboklab(44.53% 0.003 -0.1415)
OKLCHoklch(44.53% 0.142 271.2)
XYZxyz(10.5670, 8.3397, 34.7642)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AA1 #A19039
analogous
#397EA1 #394AA1 #5C39A1
triadic
#394AA1 #A1394A #4AA139
tetradic
#394AA1 #A1397E #A19039 #39A15C
square
#394AA1 #A1397E #A19039 #39A15C
split-complementary
#394AA1 #A15C39 #7EA139
monochromatic
#192047 #293574 #394AA1 #5567C3 #828FD3

Accessibility & contrast

On white

7.87
#394AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#394AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AA1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AA1#FFFFFF#000000##FFFFFF
##394AA11.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1056A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #394aa1;
/* rgb */ color: rgb(57, 74, 161);
/* oklch */ color: oklch(44.5% 0.142 271.2);
Tailwind
colors: {
  custom: {
    50: '#7b7cbd',
    500: '#394aa1',
    950: '#000000',
  },
}
SCSS
$custom: #394aa1;
$custom-light: #7b7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#394aa1",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 230.192,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.14158,
    "h": 271.2
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#394AA1
secondary
#BCB179
accent
#C150D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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