#394596#394596

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

Color values

HEX#394596
RGBrgb(57, 69, 150)
HSLhsl(232, 45%, 41%)
HSVhsv(232, 62%, 59%)
CMYKcmyk(62%, 54%, 0%, 41.2%)
CIE-LABlab(32.54, 21.33, -46.12)
CIE-LCHlch(32.54, 50.81, 294.82°)
OKLaboklab(42.67% 0.0072 -0.1322)
OKLCHoklch(42.67% 0.132 273.1)
XYZxyz(9.3187, 7.3274, 29.7715)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394596 #968A39
analogous
#397396 #394596 #5B3996
triadic
#394596 #963945 #459639
tetradic
#394596 #963973 #968A39 #39965B
square
#394596 #963973 #968A39 #39965B
split-complementary
#394596 #965B39 #739639
monochromatic
#171C3D #28316A #394596 #505EBC #7C87CD

Accessibility & contrast

On white

8.52
#394596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#394596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394596
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394596#FFFFFF#000000##FFFFFF
##3945961.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #394596;
/* rgb */ color: rgb(57, 69, 150);
/* oklch */ color: oklch(42.7% 0.132 273.1);
Tailwind
colors: {
  custom: {
    50: '#7978b5',
    500: '#394596',
    950: '#000000',
  },
}
SCSS
$custom: #394596;
$custom-light: #7978b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394596",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 150
  },
  "hsl": {
    "h": 232.258,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42665,
    "c": 0.13241,
    "h": 273.1
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#394596
secondary
#B7AE74
accent
#C453D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394596

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

Preview Lab → · Contrast checker → · Palette generator →

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