#394495#394495

#394495 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.132 H 273.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#394495
RGBrgb(57, 68, 149)
HSLhsl(233, 45%, 40%)
HSVhsv(233, 62%, 58%)
CMYKcmyk(61.7%, 54.4%, 0%, 41.6%)
CIE-LABlab(32.20, 21.63, -46.06)
CIE-LCHlch(32.20, 50.89, 295.16°)
OKLaboklab(42.39% 0.0082 -0.1321)
OKLCHoklch(42.39% 0.132 273.6)
XYZxyz(9.1775, 7.1733, 29.3289)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394495 #958A39
analogous
#397295 #394495 #5C3995
triadic
#394495 #953944 #449539
tetradic
#394495 #953972 #958A39 #39955C
square
#394495 #953972 #958A39 #39955C
split-complementary
#394495 #955C39 #729539
monochromatic
#171C3C #283069 #394495 #4F5CBC #7C85CD

Accessibility & contrast

On white

8.62
#394495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#394495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394495
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394495#FFFFFF#000000##FFFFFF
##3944951.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #394495;
/* rgb */ color: rgb(57, 68, 149);
/* oklch */ color: oklch(42.4% 0.132 273.6);
Tailwind
colors: {
  custom: {
    50: '#7977b5',
    500: '#394495',
    950: '#000000',
  },
}
SCSS
$custom: #394495;
$custom-light: #7977b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394495",
  "rgb": {
    "r": 57,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 232.826,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.13231,
    "h": 273.6
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#394495
secondary
#B6AE74
accent
#C553D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394495

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

Preview Lab → · Contrast checker → · Palette generator →

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