#394789#394789

#394789 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.110 H 271.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#394789
RGBrgb(57, 71, 137)
HSLhsl(230, 41%, 38%)
HSVhsv(230, 58%, 54%)
CMYKcmyk(58.4%, 48.2%, 0%, 46.3%)
CIE-LABlab(32.22, 15.36, -38.68)
CIE-LCHlch(32.22, 41.62, 291.66°)
OKLaboklab(42.14% 0.0036 -0.1103)
OKLCHoklch(42.14% 0.11 271.9)
XYZxyz(8.4545, 7.1818, 24.6028)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394789 #897B39
analogous
#396F89 #394789 #533989
triadic
#394789 #893947 #478939
tetradic
#394789 #89396F #897B39 #398953
square
#394789 #89396F #897B39 #398953
split-complementary
#394789 #895339 #6F8939
monochromatic
#151A33 #27315E #394789 #4B5DB4 #7684C6

Accessibility & contrast

On white

8.62
#394789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#394789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394789
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394789#FFFFFF#000000##FFFFFF
##3947891.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8B
Deuteranopia (green-blind)
#1D4888
Tritanopia (blue-blind)
#065661
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #394789;
/* rgb */ color: rgb(57, 71, 137);
/* oklch */ color: oklch(42.1% 0.110 271.9);
Tailwind
colors: {
  custom: {
    50: '#7679ac',
    500: '#394789',
    950: '#000000',
  },
}
SCSS
$custom: #394789;
$custom-light: #7679ac;
$custom-dark: #000000;
JSON
{
  "hex": "#394789",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 229.5,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.11038,
    "h": 271.9
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#394789
secondary
#AFA46F
accent
#BC57D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394789

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

Preview Lab → · Contrast checker → · Palette generator →

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