#394D89#394D89

#394D89 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.102 H 268.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#394D89
RGBrgb(57, 77, 137)
HSLhsl(225, 41%, 38%)
HSVhsv(225, 58%, 54%)
CMYKcmyk(58.4%, 43.8%, 0%, 46.3%)
CIE-LABlab(33.95, 11.38, -35.92)
CIE-LCHlch(33.95, 37.68, 287.57°)
OKLaboklab(43.46% -0.0034 -0.1021)
OKLCHoklch(43.46% 0.102 268.1)
XYZxyz(8.8551, 7.9831, 24.7363)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D89 #897539
analogous
#397589 #394D89 #4D3989
triadic
#394D89 #89394D #4D8939
tetradic
#394D89 #893975 #897539 #39894D
square
#394D89 #893975 #897539 #39894D
split-complementary
#394D89 #894D39 #758939
monochromatic
#151C33 #27355E #394D89 #4B65B4 #768AC6

Accessibility & contrast

On white

8.09
#394D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#394D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D89
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D89#FFFFFF#000000##FFFFFF
##394D891.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548B
Deuteranopia (green-blind)
#294C88
Tritanopia (blue-blind)
#035A64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #394d89;
/* rgb */ color: rgb(57, 77, 137);
/* oklch */ color: oklch(43.5% 0.102 268.1);
Tailwind
colors: {
  custom: {
    50: '#767eac',
    500: '#394d89',
    950: '#000000',
  },
}
SCSS
$custom: #394d89;
$custom-light: #767eac;
$custom-dark: #000000;
JSON
{
  "hex": "#394d89",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 225,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43461,
    "c": 0.1022,
    "h": 268.1
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#394D89
secondary
#AF9F6F
accent
#B257D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394D89

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

Preview Lab → · Contrast checker → · Palette generator →

#394D89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva