#394191#394191

#394191 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.131 H 274.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#394191
RGBrgb(57, 65, 145)
HSLhsl(235, 44%, 40%)
HSVhsv(235, 61%, 57%)
CMYKcmyk(60.7%, 55.2%, 0%, 43.1%)
CIE-LABlab(31.10, 22.20, -45.39)
CIE-LCHlch(31.10, 50.53, 296.07°)
OKLaboklab(41.47% 0.0111 -0.1301)
OKLCHoklch(41.47% 0.131 274.9)
XYZxyz(8.6868, 6.6941, 27.6169)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394191 #918939
analogous
#396D91 #394191 #5D3991
triadic
#394191 #913941 #419139
tetradic
#394191 #91396D #918939 #39915D
square
#394191 #91396D #918939 #39915D
split-complementary
#394191 #915D39 #6D9139
monochromatic
#161A39 #282D65 #394191 #4E58B9 #7A81CB

Accessibility & contrast

On white

8.98
#394191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#394191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394191
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394191#FFFFFF#000000##FFFFFF
##3941911.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D94
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394191;
/* rgb */ color: rgb(57, 65, 145);
/* oklch */ color: oklch(41.5% 0.131 274.9);
Tailwind
colors: {
  custom: {
    50: '#7875b2',
    500: '#394191',
    950: '#000000',
  },
}
SCSS
$custom: #394191;
$custom-light: #7875b2;
$custom-dark: #000000;
JSON
{
  "hex": "#394191",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 234.545,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.13059,
    "h": 274.9
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#394191
secondary
#B4AE72
accent
#C854D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394191

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

Preview Lab → · Contrast checker → · Palette generator →

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