#394579#394579

#394579 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.089 H 272.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#394579
RGBrgb(57, 69, 121)
HSLhsl(229, 36%, 35%)
HSVhsv(229, 53%, 47%)
CMYKcmyk(52.9%, 43%, 0%, 52.5%)
CIE-LABlab(30.66, 11.10, -31.24)
CIE-LCHlch(30.66, 33.15, 289.56°)
OKLaboklab(40.63% 0.0033 -0.0885)
OKLCHoklch(40.63% 0.089 272.1)
XYZxyz(7.2655, 6.5061, 18.9584)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394579 #796D39
analogous
#396579 #394579 #4D3979
triadic
#394579 #793945 #457939
tetradic
#394579 #793965 #796D39 #39794D
square
#394579 #793965 #796D39 #39794D
split-complementary
#394579 #794D39 #657939
monochromatic
#121626 #252D4F #394579 #4D5DA3 #717FBC

Accessibility & contrast

On white

9.12
#394579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#394579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394579
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394579#FFFFFF#000000##FFFFFF
##3945791.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7B
Deuteranopia (green-blind)
#294678
Tritanopia (blue-blind)
#1D5059
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394579;
/* rgb */ color: rgb(57, 69, 121);
/* oklch */ color: oklch(40.6% 0.089 272.1);
Tailwind
colors: {
  custom: {
    50: '#7478a0',
    500: '#394579',
    950: '#000000',
  },
}
SCSS
$custom: #394579;
$custom-light: #7478a0;
$custom-dark: #000000;
JSON
{
  "hex": "#394579",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 228.75,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.08857,
    "h": 272.1
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#394579
secondary
#A59A69
accent
#B75CCC
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #394579

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

Preview Lab → · Contrast checker → · Palette generator →

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