#394497#394497

#394497 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.135 H 273.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#394497
RGBrgb(57, 68, 151)
HSLhsl(233, 45%, 41%)
HSVhsv(233, 62%, 59%)
CMYKcmyk(62.3%, 55%, 0%, 40.8%)
CIE-LABlab(32.34, 22.35, -47.05)
CIE-LCHlch(32.34, 52.09, 295.41°)
OKLaboklab(42.54% 0.0083 -0.135)
OKLCHoklch(42.54% 0.135 273.5)
XYZxyz(9.3385, 7.2377, 30.1771)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394497 #978C39
analogous
#397397 #394497 #5D3997
triadic
#394497 #973944 #449739
tetradic
#394497 #973973 #978C39 #39975D
square
#394497 #973973 #978C39 #39975D
split-complementary
#394497 #975D39 #739739
monochromatic
#171C3E #28306B #394497 #505DBD #7D86CE

Accessibility & contrast

On white

8.58
#394497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394497
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394497#FFFFFF#000000##FFFFFF
##3944971.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C509A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #394497;
/* rgb */ color: rgb(57, 68, 151);
/* oklch */ color: oklch(42.5% 0.135 273.5);
Tailwind
colors: {
  custom: {
    50: '#7977b6',
    500: '#394497',
    950: '#000000',
  },
}
SCSS
$custom: #394497;
$custom-light: #7977b6;
$custom-dark: #000000;
JSON
{
  "hex": "#394497",
  "rgb": {
    "r": 57,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 232.979,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.13522,
    "h": 273.5
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#394497
secondary
#B7AF75
accent
#C653D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394497

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

Preview Lab → · Contrast checker → · Palette generator →

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