#394F89#394F89

#394F89 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.100 H 266.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#394F89
RGBrgb(57, 79, 137)
HSLhsl(224, 41%, 38%)
HSVhsv(224, 58%, 54%)
CMYKcmyk(58.4%, 42.3%, 0%, 46.3%)
CIE-LABlab(34.53, 10.06, -34.99)
CIE-LCHlch(34.53, 36.40, 286.04°)
OKLaboklab(43.91% -0.0058 -0.0994)
OKLCHoklch(43.91% 0.1 266.7)
XYZxyz(8.9972, 8.2673, 24.7837)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394F89 #897339
analogous
#397789 #394F89 #4B3989
triadic
#394F89 #89394F #4F8939
tetradic
#394F89 #893977 #897339 #39894B
square
#394F89 #893977 #897339 #39894B
split-complementary
#394F89 #894B39 #778939
monochromatic
#151D33 #27365E #394F89 #4B68B4 #768CC6

Accessibility & contrast

On white

7.91
#394F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#394F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394F89
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394F89#FFFFFF#000000##FFFFFF
##394F891.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558B
Deuteranopia (green-blind)
#2C4E88
Tritanopia (blue-blind)
#025C65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #394f89;
/* rgb */ color: rgb(57, 79, 137);
/* oklch */ color: oklch(43.9% 0.100 266.7);
Tailwind
colors: {
  custom: {
    50: '#7680ac',
    500: '#394f89',
    950: '#000000',
  },
}
SCSS
$custom: #394f89;
$custom-light: #7680ac;
$custom-dark: #000000;
JSON
{
  "hex": "#394f89",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 223.5,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43912,
    "c": 0.09955,
    "h": 266.7
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#394F89
secondary
#AF9D6F
accent
#AF57D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #394F89

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

Preview Lab → · Contrast checker → · Palette generator →

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