#394586#394586

#394586 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.5% C 0.109 H 272.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#394586
RGBrgb(57, 69, 134)
HSLhsl(231, 40%, 37%)
HSVhsv(231, 57%, 53%)
CMYKcmyk(57.5%, 48.5%, 0%, 47.5%)
CIE-LABlab(31.46, 15.64, -38.05)
CIE-LCHlch(31.46, 41.14, 292.34°)
OKLaboklab(41.5% 0.0056 -0.1085)
OKLCHoklch(41.5% 0.109 272.9)
XYZxyz(8.1171, 6.8467, 23.4435)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394586 #867A39
analogous
#396C86 #394586 #533986
triadic
#394586 #863945 #458639
tetradic
#394586 #86396C #867A39 #398653
square
#394586 #86396C #867A39 #398653
split-complementary
#394586 #865339 #6C8639
monochromatic
#141930 #272F5B #394586 #4B5BB1 #7581C4

Accessibility & contrast

On white

8.86
#394586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#394586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394586
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394586#FFFFFF#000000##FFFFFF
##3945861.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D88
Deuteranopia (green-blind)
#1C4785
Tritanopia (blue-blind)
#0D535F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394586;
/* rgb */ color: rgb(57, 69, 134);
/* oklch */ color: oklch(41.5% 0.109 272.9);
Tailwind
colors: {
  custom: {
    50: '#7678aa',
    500: '#394586',
    950: '#000000',
  },
}
SCSS
$custom: #394586;
$custom-light: #7678aa;
$custom-dark: #000000;
JSON
{
  "hex": "#394586",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 230.649,
    "s": 40.314,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.10863,
    "h": 272.9
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#394586
secondary
#ADA36D
accent
#BD58D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394586

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

Preview Lab → · Contrast checker → · Palette generator →

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