#394899#394899

#394899 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.133 H 271.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#394899
RGBrgb(57, 72, 153)
HSLhsl(231, 46%, 41%)
HSVhsv(231, 63%, 60%)
CMYKcmyk(62.7%, 52.9%, 0%, 40%)
CIE-LABlab(33.57, 20.41, -46.28)
CIE-LCHlch(33.57, 50.58, 293.80°)
OKLaboklab(43.51% 0.0044 -0.1326)
OKLCHoklch(43.51% 0.133 271.9)
XYZxyz(9.7526, 7.8037, 31.1231)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394899 #998A39
analogous
#397899 #394899 #5A3999
triadic
#394899 #993948 #489939
tetradic
#394899 #993978 #998A39 #39995A
square
#394899 #993978 #998A39 #39995A
split-complementary
#394899 #995A39 #789939
monochromatic
#181E40 #28336C #394899 #5162BE #7E8ACF

Accessibility & contrast

On white

8.20
#394899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#394899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394899
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394899#FFFFFF#000000##FFFFFF
##3948991.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #394899;
/* rgb */ color: rgb(57, 72, 153);
/* oklch */ color: oklch(43.5% 0.133 271.9);
Tailwind
colors: {
  custom: {
    50: '#797ab8',
    500: '#394899',
    950: '#000000',
  },
}
SCSS
$custom: #394899;
$custom-light: #797ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#394899",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 230.625,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43508,
    "c": 0.13272,
    "h": 271.9
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#394899
secondary
#B8AE76
accent
#C152D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394899

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

Preview Lab → · Contrast checker → · Palette generator →

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