#394582#394582

#394582 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.2% C 0.103 H 272.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#394582
RGBrgb(57, 69, 130)
HSLhsl(230, 39%, 37%)
HSVhsv(230, 56%, 51%)
CMYKcmyk(56.2%, 46.9%, 0%, 49%)
CIE-LABlab(31.20, 14.23, -35.98)
CIE-LCHlch(31.20, 38.69, 291.58°)
OKLaboklab(41.22% 0.0049 -0.1024)
OKLCHoklch(41.22% 0.103 272.8)
XYZxyz(7.8434, 6.7373, 22.0019)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394582 #827639
analogous
#396A82 #394582 #523982
triadic
#394582 #823945 #458239
tetradic
#394582 #82396A #827639 #398252
square
#394582 #82396A #827639 #398252
split-complementary
#394582 #825239 #6A8239
monochromatic
#14182D #262E57 #394582 #4C5CAD #7480C2

Accessibility & contrast

On white

8.95
#394582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#394582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394582
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394582#FFFFFF#000000##FFFFFF
##3945821.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#214681
Tritanopia (blue-blind)
#14525D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394582;
/* rgb */ color: rgb(57, 69, 130);
/* oklch */ color: oklch(41.2% 0.103 272.8);
Tailwind
colors: {
  custom: {
    50: '#7578a7',
    500: '#394582',
    950: '#000000',
  },
}
SCSS
$custom: #394582;
$custom-light: #7578a7;
$custom-dark: #000000;
JSON
{
  "hex": "#394582",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 230.137,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.10252,
    "h": 272.8
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#394582
secondary
#ABA16C
accent
#BC59CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #394582

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

Preview Lab → · Contrast checker → · Palette generator →

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