#394891#394891

#394891 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.121 H 271.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#394891
RGBrgb(57, 72, 145)
HSLhsl(230, 44%, 40%)
HSVhsv(230, 61%, 57%)
CMYKcmyk(60.7%, 50.3%, 0%, 43.1%)
CIE-LABlab(33.02, 17.54, -42.29)
CIE-LCHlch(33.02, 45.79, 292.53°)
OKLaboklab(42.92% 0.0036 -0.1209)
OKLCHoklch(42.92% 0.121 271.7)
XYZxyz(9.1138, 7.5482, 27.7592)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394891 #918239
analogous
#397491 #394891 #563991
triadic
#394891 #913948 #489139
tetradic
#394891 #913974 #918239 #399156
square
#394891 #913974 #918239 #399156
split-complementary
#394891 #915639 #749139
monochromatic
#161C39 #283265 #394891 #4E60B9 #7A88CB

Accessibility & contrast

On white

8.37
#394891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#394891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394891
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394891#FFFFFF#000000##FFFFFF
##3948911.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235294
Deuteranopia (green-blind)
#124A8F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #394891;
/* rgb */ color: rgb(57, 72, 145);
/* oklch */ color: oklch(42.9% 0.121 271.7);
Tailwind
colors: {
  custom: {
    50: '#787ab2',
    500: '#394891',
    950: '#000000',
  },
}
SCSS
$custom: #394891;
$custom-light: #787ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#394891",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 229.773,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.12097,
    "h": 271.7
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#394891
secondary
#B4A972
accent
#BE54D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #394891

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

Preview Lab → · Contrast checker → · Palette generator →

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