#394A8A#394A8A

#394A8A is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.9% C 0.108 H 270.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#394A8A
RGBrgb(57, 74, 138)
HSLhsl(227, 42%, 38%)
HSVhsv(227, 59%, 54%)
CMYKcmyk(58.7%, 46.4%, 0%, 45.9%)
CIE-LABlab(33.14, 13.72, -37.82)
CIE-LCHlch(33.14, 40.23, 289.94°)
OKLaboklab(42.86% 0.0003 -0.1078)
OKLCHoklch(42.86% 0.108 270.2)
XYZxyz(8.7220, 7.6017, 25.0475)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394A8A #8A7939
analogous
#39728A #394A8A #50398A
triadic
#394A8A #8A394A #4A8A39
tetradic
#394A8A #8A3972 #8A7939 #398A50
square
#394A8A #8A3972 #8A7939 #398A50
split-complementary
#394A8A #8A5039 #728A39
monochromatic
#151C33 #27335F #394A8A #4B62B5 #7787C7

Accessibility & contrast

On white

8.33
#394A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#394A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394A8A
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394A8A#FFFFFF#000000##FFFFFF
##394A8A1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#025863
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #394a8a;
/* rgb */ color: rgb(57, 74, 138);
/* oklch */ color: oklch(42.9% 0.108 270.2);
Tailwind
colors: {
  custom: {
    50: '#767cac',
    500: '#394a8a',
    950: '#000000',
  },
}
SCSS
$custom: #394a8a;
$custom-light: #767cac;
$custom-dark: #000000;
JSON
{
  "hex": "#394a8a",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 227.407,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.10776,
    "h": 270.2
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#394A8A
secondary
#B0A26F
accent
#B856D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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