#394989#394989

#394989 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.108 H 270.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#394989
RGBrgb(57, 73, 137)
HSLhsl(228, 41%, 38%)
HSVhsv(228, 58%, 54%)
CMYKcmyk(58.4%, 46.7%, 0%, 46.3%)
CIE-LABlab(32.79, 14.03, -37.77)
CIE-LCHlch(32.79, 40.29, 290.38°)
OKLaboklab(42.57% 0.0013 -0.1076)
OKLCHoklch(42.57% 0.108 270.7)
XYZxyz(8.5838, 7.4404, 24.6459)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394989 #897939
analogous
#397189 #394989 #513989
triadic
#394989 #893949 #498939
tetradic
#394989 #893971 #897939 #398951
square
#394989 #893971 #897939 #398951
split-complementary
#394989 #895139 #718939
monochromatic
#151B33 #27325E #394989 #4B60B4 #7686C6

Accessibility & contrast

On white

8.44
#394989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#394989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394989
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394989#FFFFFF#000000##FFFFFF
##3949891.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518B
Deuteranopia (green-blind)
#214A88
Tritanopia (blue-blind)
#055762
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #394989;
/* rgb */ color: rgb(57, 73, 137);
/* oklch */ color: oklch(42.6% 0.108 270.7);
Tailwind
colors: {
  custom: {
    50: '#767bac',
    500: '#394989',
    950: '#000000',
  },
}
SCSS
$custom: #394989;
$custom-light: #767bac;
$custom-dark: #000000;
JSON
{
  "hex": "#394989",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 228,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42574,
    "c": 0.10762,
    "h": 270.7
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#394989
secondary
#AFA26F
accent
#B957D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394989

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

Preview Lab → · Contrast checker → · Palette generator →

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