#394589#394589

#394589 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.7% C 0.113 H 273.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#394589
RGBrgb(57, 69, 137)
HSLhsl(231, 41%, 38%)
HSVhsv(231, 58%, 54%)
CMYKcmyk(58.4%, 49.6%, 0%, 46.3%)
CIE-LABlab(31.65, 16.70, -39.59)
CIE-LCHlch(31.65, 42.97, 292.87°)
OKLaboklab(41.71% 0.006 -0.113)
OKLCHoklch(41.71% 0.113 273)
XYZxyz(8.3293, 6.9316, 24.5611)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394589 #897D39
analogous
#396D89 #394589 #553989
triadic
#394589 #893945 #458939
tetradic
#394589 #89396D #897D39 #398955
square
#394589 #89396D #897D39 #398955
split-complementary
#394589 #895539 #6D8939
monochromatic
#151933 #272F5E #394589 #4B5BB4 #7682C6

Accessibility & contrast

On white

8.80
#394589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#394589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394589
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394589#FFFFFF#000000##FFFFFF
##3945891.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8B
Deuteranopia (green-blind)
#184788
Tritanopia (blue-blind)
#075460
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394589;
/* rgb */ color: rgb(57, 69, 137);
/* oklch */ color: oklch(41.7% 0.113 273.0);
Tailwind
colors: {
  custom: {
    50: '#7678ac',
    500: '#394589',
    950: '#000000',
  },
}
SCSS
$custom: #394589;
$custom-light: #7678ac;
$custom-dark: #000000;
JSON
{
  "hex": "#394589",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 231,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.11317,
    "h": 273
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#394589
secondary
#AFA66F
accent
#BF57D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394589

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

Preview Lab → · Contrast checker → · Palette generator →

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