#394580#394580

#394580 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.099 H 272.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#394580
RGBrgb(57, 69, 128)
HSLhsl(230, 38%, 36%)
HSVhsv(230, 55%, 50%)
CMYKcmyk(55.5%, 46.1%, 0%, 49.8%)
CIE-LABlab(31.08, 13.53, -34.94)
CIE-LCHlch(31.08, 37.47, 291.17°)
OKLaboklab(41.09% 0.0046 -0.0993)
OKLCHoklch(41.09% 0.099 272.7)
XYZxyz(7.7105, 6.6841, 21.3017)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394580 #807439
analogous
#396980 #394580 #513980
triadic
#394580 #803945 #458039
tetradic
#394580 #803969 #807439 #398051
square
#394580 #803969 #807439 #398051
split-complementary
#394580 #805139 #698039
monochromatic
#13172B #262E56 #394580 #4C5CAA #7380C1

Accessibility & contrast

On white

8.99
#394580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#394580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394580
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394580#FFFFFF#000000##FFFFFF
##3945801.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C82
Deuteranopia (green-blind)
#23467F
Tritanopia (blue-blind)
#16525C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394580;
/* rgb */ color: rgb(57, 69, 128);
/* oklch */ color: oklch(41.1% 0.099 272.7);
Tailwind
colors: {
  custom: {
    50: '#7578a5',
    500: '#394580',
    950: '#000000',
  },
}
SCSS
$custom: #394580;
$custom-light: #7578a5;
$custom-dark: #000000;
JSON
{
  "hex": "#394580",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 229.859,
    "s": 38.378,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.09945,
    "h": 272.7
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#394580
secondary
#AA9F6B
accent
#BB59CE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #394580

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

Preview Lab → · Contrast checker → · Palette generator →

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