#394686#394686

#394686 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.107 H 272.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#394686
RGBrgb(57, 70, 134)
HSLhsl(230, 40%, 37%)
HSVhsv(230, 57%, 53%)
CMYKcmyk(57.5%, 47.8%, 0%, 47.5%)
CIE-LABlab(31.74, 14.97, -37.60)
CIE-LCHlch(31.74, 40.47, 291.71°)
OKLaboklab(41.71% 0.0044 -0.1071)
OKLCHoklch(41.71% 0.107 272.3)
XYZxyz(8.1792, 6.9708, 23.4641)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394686 #867939
analogous
#396D86 #394686 #523986
triadic
#394686 #863946 #468639
tetradic
#394686 #86396D #867939 #398652
square
#394686 #86396D #867939 #398652
split-complementary
#394686 #865239 #6D8639
monochromatic
#141930 #27305B #394686 #4B5CB1 #7582C4

Accessibility & contrast

On white

8.77
#394686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394686
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394686#FFFFFF#000000##FFFFFF
##3946861.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#0D545F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #394686;
/* rgb */ color: rgb(57, 70, 134);
/* oklch */ color: oklch(41.7% 0.107 272.3);
Tailwind
colors: {
  custom: {
    50: '#7679aa',
    500: '#394686',
    950: '#000000',
  },
}
SCSS
$custom: #394686;
$custom-light: #7679aa;
$custom-dark: #000000;
JSON
{
  "hex": "#394686",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 229.87,
    "s": 40.314,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41713,
    "c": 0.10722,
    "h": 272.3
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#394686
secondary
#ADA36D
accent
#BC58D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394686

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

Preview Lab → · Contrast checker → · Palette generator →

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