#394B8A#394B8A

#394B8A is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.1% C 0.106 H 269.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#394B8A
RGBrgb(57, 75, 138)
HSLhsl(227, 42%, 38%)
HSVhsv(227, 59%, 54%)
CMYKcmyk(58.7%, 45.7%, 0%, 45.9%)
CIE-LABlab(33.43, 13.05, -37.36)
CIE-LCHlch(33.43, 39.58, 289.26°)
OKLaboklab(43.08% -0.0009 -0.1064)
OKLCHoklch(43.08% 0.106 269.5)
XYZxyz(8.7893, 7.7363, 25.0699)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394B8A #8A7839
analogous
#39738A #394B8A #50398A
triadic
#394B8A #8A394B #4B8A39
tetradic
#394B8A #8A3973 #8A7839 #398A50
square
#394B8A #8A3973 #8A7839 #398A50
split-complementary
#394B8A #8A5039 #738A39
monochromatic
#151C33 #27335F #394B8A #4B63B5 #7788C7

Accessibility & contrast

On white

8.24
#394B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#394B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394B8A
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394B8A#FFFFFF#000000##FFFFFF
##394B8A1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528C
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#025963
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #394b8a;
/* rgb */ color: rgb(57, 75, 138);
/* oklch */ color: oklch(43.1% 0.106 269.5);
Tailwind
colors: {
  custom: {
    50: '#767dac',
    500: '#394b8a',
    950: '#000000',
  },
}
SCSS
$custom: #394b8a;
$custom-light: #767dac;
$custom-dark: #000000;
JSON
{
  "hex": "#394b8a",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 226.667,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43082,
    "c": 0.10639,
    "h": 269.5
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#394B8A
secondary
#B0A16F
accent
#B656D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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