#394997#394997

#394997 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.128 H 271.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#394997
RGBrgb(57, 73, 151)
HSLhsl(230, 45%, 41%)
HSVhsv(230, 62%, 59%)
CMYKcmyk(62.3%, 51.7%, 0%, 40.8%)
CIE-LABlab(33.71, 19.03, -44.85)
CIE-LCHlch(33.71, 48.72, 292.99°)
OKLaboklab(43.57% 0.0031 -0.1284)
OKLCHoklch(43.57% 0.128 271.4)
XYZxyz(9.6539, 7.8685, 30.2822)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394997 #978739
analogous
#397897 #394997 #583997
triadic
#394997 #973949 #499739
tetradic
#394997 #973978 #978739 #399758
square
#394997 #973978 #978739 #399758
split-complementary
#394997 #975839 #789739
monochromatic
#171E3E #28346B #394997 #5063BD #7D8ACE

Accessibility & contrast

On white

8.16
#394997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#394997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394997
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394997#FFFFFF#000000##FFFFFF
##3949971.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#064B95
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #394997;
/* rgb */ color: rgb(57, 73, 151);
/* oklch */ color: oklch(43.6% 0.128 271.4);
Tailwind
colors: {
  custom: {
    50: '#797bb6',
    500: '#394997',
    950: '#000000',
  },
}
SCSS
$custom: #394997;
$custom-light: #797bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#394997",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 229.787,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43567,
    "c": 0.12845,
    "h": 271.4
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#394997
secondary
#B7AC75
accent
#BF53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394997

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

Preview Lab → · Contrast checker → · Palette generator →

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