#394391#394391

#394391 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.128 H 274.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#394391
RGBrgb(57, 67, 145)
HSLhsl(233, 44%, 40%)
HSVhsv(233, 61%, 57%)
CMYKcmyk(60.7%, 53.8%, 0%, 43.1%)
CIE-LABlab(31.64, 20.87, -44.52)
CIE-LCHlch(31.64, 49.17, 295.12°)
OKLaboklab(41.88% 0.009 -0.1275)
OKLCHoklch(41.88% 0.128 274)
XYZxyz(8.8037, 6.9278, 27.6559)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394391 #918739
analogous
#396F91 #394391 #5B3991
triadic
#394391 #913943 #439139
tetradic
#394391 #91396F #918739 #39915B
square
#394391 #91396F #918739 #39915B
split-complementary
#394391 #915B39 #6F9139
monochromatic
#161A39 #282F65 #394391 #4E5AB9 #7A83CB

Accessibility & contrast

On white

8.80
#394391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#394391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394391
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394391#FFFFFF#000000##FFFFFF
##3943911.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E94
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394391;
/* rgb */ color: rgb(57, 67, 145);
/* oklch */ color: oklch(41.9% 0.128 274.0);
Tailwind
colors: {
  custom: {
    50: '#7877b2',
    500: '#394391',
    950: '#000000',
  },
}
SCSS
$custom: #394391;
$custom-light: #7877b2;
$custom-dark: #000000;
JSON
{
  "hex": "#394391",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 145
  },
  "hsl": {
    "h": 233.182,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.12784,
    "h": 274
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#394391
secondary
#B4AC72
accent
#C554D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #394391

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

Preview Lab → · Contrast checker → · Palette generator →

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