#394991#394991

#394991 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.1% C 0.120 H 271.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#394991
RGBrgb(57, 73, 145)
HSLhsl(229, 44%, 40%)
HSVhsv(229, 61%, 57%)
CMYKcmyk(60.7%, 49.7%, 0%, 43.1%)
CIE-LABlab(33.30, 16.88, -41.84)
CIE-LCHlch(33.30, 45.12, 291.97°)
OKLaboklab(43.13% 0.0025 -0.1196)
OKLCHoklch(43.13% 0.12 271.2)
XYZxyz(9.1790, 7.6786, 27.7810)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394991 #918139
analogous
#397591 #394991 #553991
triadic
#394991 #913949 #499139
tetradic
#394991 #913975 #918139 #399155
square
#394991 #913975 #918139 #399155
split-complementary
#394991 #915539 #759139
monochromatic
#161D39 #283365 #394991 #4E61B9 #7A88CB

Accessibility & contrast

On white

8.28
#394991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#394991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394991
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394991#FFFFFF#000000##FFFFFF
##3949911.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255294
Deuteranopia (green-blind)
#164B8F
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #394991;
/* rgb */ color: rgb(57, 73, 145);
/* oklch */ color: oklch(43.1% 0.120 271.2);
Tailwind
colors: {
  custom: {
    50: '#787bb2',
    500: '#394991',
    950: '#000000',
  },
}
SCSS
$custom: #394991;
$custom-light: #787bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#394991",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 145
  },
  "hsl": {
    "h": 229.091,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43132,
    "c": 0.11961,
    "h": 271.2
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#394991
secondary
#B4A872
accent
#BC54D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #394991

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

Preview Lab → · Contrast checker → · Palette generator →

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