#394492#394492

#394492 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.128 H 273.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#394492
RGBrgb(57, 68, 146)
HSLhsl(233, 44%, 40%)
HSVhsv(233, 61%, 57%)
CMYKcmyk(61%, 53.4%, 0%, 42.7%)
CIE-LABlab(31.99, 20.56, -44.58)
CIE-LCHlch(31.99, 49.09, 294.77°)
OKLaboklab(42.16% 0.008 -0.1277)
OKLCHoklch(42.16% 0.128 273.6)
XYZxyz(8.9411, 7.0787, 28.0837)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394492 #928739
analogous
#397192 #394492 #5A3992
triadic
#394492 #923944 #449239
tetradic
#394492 #923971 #928739 #39925A
square
#394492 #923971 #928739 #39925A
split-complementary
#394492 #925A39 #719239
monochromatic
#171B3A #283066 #394492 #4E5CBA #7A84CB

Accessibility & contrast

On white

8.69
#394492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#394492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394492
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394492#FFFFFF#000000##FFFFFF
##3944921.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F95
Deuteranopia (green-blind)
#004890
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #394492;
/* rgb */ color: rgb(57, 68, 146);
/* oklch */ color: oklch(42.2% 0.128 273.6);
Tailwind
colors: {
  custom: {
    50: '#7877b2',
    500: '#394492',
    950: '#000000',
  },
}
SCSS
$custom: #394492;
$custom-light: #7877b2;
$custom-dark: #000000;
JSON
{
  "hex": "#394492",
  "rgb": {
    "r": 57,
    "g": 68,
    "b": 146
  },
  "hsl": {
    "h": 232.584,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42157,
    "c": 0.12793,
    "h": 273.6
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#394492
secondary
#B4AC72
accent
#C454D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394492

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

Preview Lab → · Contrast checker → · Palette generator →

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