#394479#394479

#394479 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.090 H 272.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#394479
RGBrgb(57, 68, 121)
HSLhsl(230, 36%, 35%)
HSVhsv(230, 53%, 47%)
CMYKcmyk(52.9%, 43.8%, 0%, 52.5%)
CIE-LABlab(30.36, 11.77, -31.71)
CIE-LCHlch(30.36, 33.82, 290.37°)
OKLaboklab(40.4% 0.0046 -0.0899)
OKLCHoklch(40.4% 0.09 272.9)
XYZxyz(7.2046, 6.3841, 18.9381)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394479 #796E39
analogous
#396479 #394479 #4E3979
triadic
#394479 #793944 #447939
tetradic
#394479 #793964 #796E39 #39794E
square
#394479 #793964 #796E39 #39794E
split-complementary
#394479 #794E39 #647939
monochromatic
#121526 #252D4F #394479 #4D5BA3 #717DBC

Accessibility & contrast

On white

9.22
#394479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#394479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394479
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394479#FFFFFF#000000##FFFFFF
##3944791.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A7B
Deuteranopia (green-blind)
#284578
Tritanopia (blue-blind)
#1E4F58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394479;
/* rgb */ color: rgb(57, 68, 121);
/* oklch */ color: oklch(40.4% 0.090 272.9);
Tailwind
colors: {
  custom: {
    50: '#7477a0',
    500: '#394479',
    950: '#000000',
  },
}
SCSS
$custom: #394479;
$custom-light: #7477a0;
$custom-dark: #000000;
JSON
{
  "hex": "#394479",
  "rgb": {
    "r": 57,
    "g": 68,
    "b": 121
  },
  "hsl": {
    "h": 229.688,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40401,
    "c": 0.09,
    "h": 272.9
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#394479
secondary
#A59B69
accent
#B95CCC
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #394479

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

Preview Lab → · Contrast checker → · Palette generator →

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