#394591#394591

#394591 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.125 H 273.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#394591
RGBrgb(57, 69, 145)
HSLhsl(232, 44%, 40%)
HSVhsv(232, 61%, 57%)
CMYKcmyk(60.7%, 52.4%, 0%, 43.1%)
CIE-LABlab(32.19, 19.54, -43.63)
CIE-LCHlch(32.19, 47.81, 294.13°)
OKLaboklab(42.29% 0.0068 -0.1249)
OKLCHoklch(42.29% 0.125 273.1)
XYZxyz(8.9246, 7.1697, 27.6962)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394591 #918539
analogous
#397191 #394591 #593991
triadic
#394591 #913945 #459139
tetradic
#394591 #913971 #918539 #399159
square
#394591 #913971 #918539 #399159
split-complementary
#394591 #915939 #719139
monochromatic
#161B39 #283065 #394591 #4E5DB9 #7A85CB

Accessibility & contrast

On white

8.63
#394591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#394591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394591
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394591#FFFFFF#000000##FFFFFF
##3945911.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#06488F
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #394591;
/* rgb */ color: rgb(57, 69, 145);
/* oklch */ color: oklch(42.3% 0.125 273.1);
Tailwind
colors: {
  custom: {
    50: '#7878b2',
    500: '#394591',
    950: '#000000',
  },
}
SCSS
$custom: #394591;
$custom-light: #7878b2;
$custom-dark: #000000;
JSON
{
  "hex": "#394591",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 231.818,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.12509,
    "h": 273.1
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#394591
secondary
#B4AB72
accent
#C254D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #394591

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

Preview Lab → · Contrast checker → · Palette generator →

#394591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva