#394597#394597

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

Color values

HEX#394597
RGBrgb(57, 69, 151)
HSLhsl(232, 45%, 41%)
HSVhsv(232, 62%, 59%)
CMYKcmyk(62.3%, 54.3%, 0%, 40.8%)
CIE-LABlab(32.61, 21.68, -46.61)
CIE-LCHlch(32.61, 51.41, 294.95°)
OKLaboklab(42.74% 0.0073 -0.1337)
OKLCHoklch(42.74% 0.134 273.1)
XYZxyz(9.3995, 7.3597, 30.1974)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394597 #978B39
analogous
#397497 #394597 #5C3997
triadic
#394597 #973945 #459739
tetradic
#394597 #973974 #978B39 #39975C
square
#394597 #973974 #978B39 #39975C
split-complementary
#394597 #975C39 #749739
monochromatic
#171C3E #28316B #394597 #505EBD #7D87CE

Accessibility & contrast

On white

8.50
#394597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394597
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394597#FFFFFF#000000##FFFFFF
##3945971.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #394597;
/* rgb */ color: rgb(57, 69, 151);
/* oklch */ color: oklch(42.7% 0.134 273.1);
Tailwind
colors: {
  custom: {
    50: '#7978b6',
    500: '#394597',
    950: '#000000',
  },
}
SCSS
$custom: #394597;
$custom-light: #7978b6;
$custom-dark: #000000;
JSON
{
  "hex": "#394597",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 232.34,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42742,
    "c": 0.13386,
    "h": 273.1
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394597

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

Preview Lab → · Contrast checker → · Palette generator →

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