#394DA5#394DA5

#394DA5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.143 H 270.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#394DA5
RGBrgb(57, 77, 165)
HSLhsl(229, 49%, 44%)
HSVhsv(229, 65%, 65%)
CMYKcmyk(65.5%, 53.3%, 0%, 35.3%)
CIE-LABlab(35.78, 21.44, -49.94)
CIE-LCHlch(35.78, 54.35, 293.24°)
OKLaboklab(45.44% 0.0004 -0.1433)
OKLCHoklch(45.44% 0.143 270.1)
XYZxyz(11.1305, 8.8932, 36.7200)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DA5 #A59139
analogous
#3983A5 #394DA5 #5B39A5
triadic
#394DA5 #A5394D #4DA539
tetradic
#394DA5 #A53983 #A59139 #39A55B
square
#394DA5 #A53983 #A59139 #39A55B
split-complementary
#394DA5 #A55B39 #83A539
monochromatic
#1A234A #293878 #394DA5 #566BC5 #8493D4

Accessibility & contrast

On white

7.56
#394DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#394DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DA5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DA5#FFFFFF#000000##FFFFFF
##394DA51.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394da5;
/* rgb */ color: rgb(57, 77, 165);
/* oklch */ color: oklch(45.4% 0.143 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b7ec0',
    500: '#394da5',
    950: '#000000',
  },
}
SCSS
$custom: #394da5;
$custom-light: #7b7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#394da5",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 228.889,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.14335,
    "h": 270.1
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

primary
#394DA5
secondary
#BEB27B
accent
#BF50D8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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