#394894#394894

#394894 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.125 H 271.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#394894
RGBrgb(57, 72, 148)
HSLhsl(230, 44%, 40%)
HSVhsv(230, 61%, 58%)
CMYKcmyk(61.5%, 51.4%, 0%, 42%)
CIE-LABlab(33.23, 18.62, -43.80)
CIE-LCHlch(33.23, 47.59, 293.03°)
OKLaboklab(43.14% 0.0039 -0.1253)
OKLCHoklch(43.14% 0.125 271.8)
XYZxyz(9.3482, 7.6420, 28.9936)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394894 #948539
analogous
#397594 #394894 #583994
triadic
#394894 #943948 #489439
tetradic
#394894 #943975 #948539 #399458
square
#394894 #943975 #948539 #399458
split-complementary
#394894 #945839 #759439
monochromatic
#171D3C #283368 #394894 #4F61BB #7B89CC

Accessibility & contrast

On white

8.30
#394894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#394894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394894
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394894#FFFFFF#000000##FFFFFF
##3948941.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5297
Deuteranopia (green-blind)
#0B4A92
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #394894;
/* rgb */ color: rgb(57, 72, 148);
/* oklch */ color: oklch(43.1% 0.125 271.8);
Tailwind
colors: {
  custom: {
    50: '#787ab4',
    500: '#394894',
    950: '#000000',
  },
}
SCSS
$custom: #394894;
$custom-light: #787ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#394894",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 230.11,
    "s": 44.39,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43137,
    "c": 0.1254,
    "h": 271.8
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#394894
secondary
#B6AB73
accent
#BF54D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394894

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

Preview Lab → · Contrast checker → · Palette generator →

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