#394F86#394F86

#394F86 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.095 H 266.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#394F86
RGBrgb(57, 79, 134)
HSLhsl(223, 40%, 37%)
HSVhsv(223, 57%, 53%)
CMYKcmyk(57.5%, 41%, 0%, 47.5%)
CIE-LABlab(34.36, 9.00, -33.42)
CIE-LCHlch(34.36, 34.61, 285.07°)
OKLaboklab(43.72% -0.0064 -0.0948)
OKLCHoklch(43.72% 0.095 266.1)
XYZxyz(8.7850, 8.1824, 23.6661)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394F86 #867039
analogous
#397686 #394F86 #493986
triadic
#394F86 #86394F #4F8639
tetradic
#394F86 #863976 #867039 #398649
square
#394F86 #863976 #867039 #398649
split-complementary
#394F86 #864939 #768639
monochromatic
#141C30 #27365B #394F86 #4B68B1 #758CC4

Accessibility & contrast

On white

7.96
#394F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#394F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394F86
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394F86#FFFFFF#000000##FFFFFF
##394F861.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385588
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#095B64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #394f86;
/* rgb */ color: rgb(57, 79, 134);
/* oklch */ color: oklch(43.7% 0.095 266.1);
Tailwind
colors: {
  custom: {
    50: '#7680a9',
    500: '#394f86',
    950: '#000000',
  },
}
SCSS
$custom: #394f86;
$custom-light: #7680a9;
$custom-dark: #000000;
JSON
{
  "hex": "#394f86",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 134
  },
  "hsl": {
    "h": 222.857,
    "s": 40.314,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43721,
    "c": 0.09502,
    "h": 266.1
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#394F86
secondary
#AD9B6D
accent
#AE58D0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #394F86

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

Preview Lab → · Contrast checker → · Palette generator →

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