#394594#394594

#394594 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.129 H 273.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#394594
RGBrgb(57, 69, 148)
HSLhsl(232, 44%, 40%)
HSVhsv(232, 61%, 58%)
CMYKcmyk(61.5%, 53.4%, 0%, 42%)
CIE-LABlab(32.40, 20.61, -45.13)
CIE-LCHlch(32.40, 49.61, 294.55°)
OKLaboklab(42.51% 0.0071 -0.1293)
OKLCHoklch(42.51% 0.129 273.1)
XYZxyz(9.1590, 7.2635, 28.9306)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394594 #948839
analogous
#397294 #394594 #5B3994
triadic
#394594 #943945 #459439
tetradic
#394594 #943972 #948839 #39945B
square
#394594 #943972 #948839 #39945B
split-complementary
#394594 #945B39 #729439
monochromatic
#171C3C #283068 #394594 #4F5DBB #7B86CC

Accessibility & contrast

On white

8.56
#394594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#394594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394594
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394594#FFFFFF#000000##FFFFFF
##3945941.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394594;
/* rgb */ color: rgb(57, 69, 148);
/* oklch */ color: oklch(42.5% 0.129 273.1);
Tailwind
colors: {
  custom: {
    50: '#7878b4',
    500: '#394594',
    950: '#000000',
  },
}
SCSS
$custom: #394594;
$custom-light: #7878b4;
$custom-dark: #000000;
JSON
{
  "hex": "#394594",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 232.088,
    "s": 44.39,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.12949,
    "h": 273.1
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#394594
secondary
#B6AD73
accent
#C354D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394594

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

Preview Lab → · Contrast checker → · Palette generator →

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