#394A97#394A97

#394A97 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.127 H 270.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#394A97
RGBrgb(57, 74, 151)
HSLhsl(229, 45%, 41%)
HSVhsv(229, 62%, 59%)
CMYKcmyk(62.3%, 51%, 0%, 40.8%)
CIE-LABlab(33.98, 18.37, -44.40)
CIE-LCHlch(33.98, 48.05, 292.47°)
OKLaboklab(43.78% 0.0021 -0.1271)
OKLCHoklch(43.78% 0.127 270.9)
XYZxyz(9.7202, 8.0010, 30.3043)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394A97 #978639
analogous
#397997 #394A97 #573997
triadic
#394A97 #97394A #4A9739
tetradic
#394A97 #973979 #978639 #399757
square
#394A97 #973979 #978639 #399757
split-complementary
#394A97 #975739 #799739
monochromatic
#171E3E #28346B #394A97 #5064BD #7D8BCE

Accessibility & contrast

On white

8.08
#394A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#394A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394A97
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394A97#FFFFFF#000000##FFFFFF
##394A971.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#0B4C95
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #394a97;
/* rgb */ color: rgb(57, 74, 151);
/* oklch */ color: oklch(43.8% 0.127 270.9);
Tailwind
colors: {
  custom: {
    50: '#797cb6',
    500: '#394a97',
    950: '#000000',
  },
}
SCSS
$custom: #394a97;
$custom-light: #797cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#394a97",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 229.149,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43777,
    "c": 0.12711,
    "h": 270.9
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#394A97
secondary
#B7AB75
accent
#BD53D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394A97

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

Preview Lab → · Contrast checker → · Palette generator →

#394A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva