#394897#394897

#394897 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.130 H 271.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#394897
RGBrgb(57, 72, 151)
HSLhsl(230, 45%, 41%)
HSVhsv(230, 62%, 59%)
CMYKcmyk(62.3%, 52.3%, 0%, 40.8%)
CIE-LABlab(33.43, 19.69, -45.29)
CIE-LCHlch(33.43, 49.39, 293.50°)
OKLaboklab(43.36% 0.0042 -0.1297)
OKLCHoklch(43.36% 0.13 271.8)
XYZxyz(9.5888, 7.7382, 30.2605)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394897 #978839
analogous
#397797 #394897 #593997
triadic
#394897 #973948 #489739
tetradic
#394897 #973977 #978839 #399759
square
#394897 #973977 #978839 #399759
split-complementary
#394897 #975939 #779739
monochromatic
#171E3E #28336B #394897 #5062BD #7D8ACE

Accessibility & contrast

On white

8.24
#394897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#394897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394897
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394897#FFFFFF#000000##FFFFFF
##3948971.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#014B95
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #394897;
/* rgb */ color: rgb(57, 72, 151);
/* oklch */ color: oklch(43.4% 0.130 271.8);
Tailwind
colors: {
  custom: {
    50: '#797ab6',
    500: '#394897',
    950: '#000000',
  },
}
SCSS
$custom: #394897;
$custom-light: #797ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#394897",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 230.426,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43359,
    "c": 0.12981,
    "h": 271.8
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#394897
secondary
#B7AD75
accent
#C053D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394897

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

Preview Lab → · Contrast checker → · Palette generator →

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