#394A9E#394A9E

#394A9E is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.137 H 271.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#394A9E
RGBrgb(57, 74, 158)
HSLhsl(230, 47%, 42%)
HSVhsv(230, 64%, 62%)
CMYKcmyk(63.9%, 53.2%, 0%, 38%)
CIE-LABlab(34.47, 20.89, -47.85)
CIE-LCHlch(34.47, 52.21, 293.58°)
OKLaboklab(44.3% 0.0028 -0.1372)
OKLCHoklch(44.3% 0.137 271.1)
XYZxyz(10.3056, 8.2352, 33.3876)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394A9E #9E8D39
analogous
#397D9E #394A9E #5B399E
triadic
#394A9E #9E394A #4A9E39
tetradic
#394A9E #9E397D #9E8D39 #399E5B
square
#394A9E #9E397D #9E8D39 #399E5B
split-complementary
#394A9E #9E5B39 #7D9E39
monochromatic
#192044 #293571 #394A9E #5366C1 #808ED1

Accessibility & contrast

On white

7.93
#394A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#394A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394A9E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394A9E#FFFFFF#000000##FFFFFF
##394A9E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #394a9e;
/* rgb */ color: rgb(57, 74, 158);
/* oklch */ color: oklch(44.3% 0.137 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a7cbb',
    500: '#394a9e',
    950: '#000000',
  },
}
SCSS
$custom: #394a9e;
$custom-light: #7a7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#394a9e",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 158
  },
  "hsl": {
    "h": 229.901,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44297,
    "c": 0.13728,
    "h": 271.1
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#394A9E
secondary
#BBB078
accent
#C051D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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