#394D94#394D94

#394D94 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.2% C 0.119 H 269.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#394D94
RGBrgb(57, 77, 148)
HSLhsl(227, 44%, 40%)
HSVhsv(227, 61%, 58%)
CMYKcmyk(61.5%, 48%, 0%, 42%)
CIE-LABlab(34.63, 15.30, -41.54)
CIE-LCHlch(34.63, 44.27, 290.22°)
OKLaboklab(44.2% -0.0015 -0.1186)
OKLCHoklch(44.2% 0.119 269.3)
XYZxyz(9.6847, 8.3149, 29.1058)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D94 #948039
analogous
#397A94 #394D94 #523994
triadic
#394D94 #94394D #4D9439
tetradic
#394D94 #94397A #948039 #399452
square
#394D94 #94397A #948039 #399452
split-complementary
#394D94 #945239 #7A9439
monochromatic
#171F3C #283668 #394D94 #4F67BB #7B8DCC

Accessibility & contrast

On white

7.89
#394D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#394D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D94
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D94#FFFFFF#000000##FFFFFF
##394D941.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5697
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #394d94;
/* rgb */ color: rgb(57, 77, 148);
/* oklch */ color: oklch(44.2% 0.119 269.3);
Tailwind
colors: {
  custom: {
    50: '#787eb4',
    500: '#394d94',
    950: '#000000',
  },
}
SCSS
$custom: #394d94;
$custom-light: #787eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#394d94",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 148
  },
  "hsl": {
    "h": 226.813,
    "s": 44.39,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44204,
    "c": 0.11866,
    "h": 269.3
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#394D94
secondary
#B6A773
accent
#B854D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #394D94

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

Preview Lab → · Contrast checker → · Palette generator →

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