#394F87#394F87

#394F87 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.097 H 266.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#394F87
RGBrgb(57, 79, 135)
HSLhsl(223, 41%, 38%)
HSVhsv(223, 58%, 53%)
CMYKcmyk(57.8%, 41.5%, 0%, 47.1%)
CIE-LABlab(34.42, 9.35, -33.95)
CIE-LCHlch(34.42, 35.21, 285.40°)
OKLaboklab(43.78% -0.0062 -0.0963)
OKLCHoklch(43.78% 0.097 266.3)
XYZxyz(8.8550, 8.2104, 24.0351)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394F87 #877139
analogous
#397687 #394F87 #4A3987
triadic
#394F87 #87394F #4F8739
tetradic
#394F87 #873976 #877139 #39874A
square
#394F87 #873976 #877139 #39874A
split-complementary
#394F87 #874A39 #768739
monochromatic
#151D31 #27365C #394F87 #4B68B2 #758CC5

Accessibility & contrast

On white

7.95
#394F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394F87
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394F87#FFFFFF#000000##FFFFFF
##394F871.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#075B64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #394f87;
/* rgb */ color: rgb(57, 79, 135);
/* oklch */ color: oklch(43.8% 0.097 266.3);
Tailwind
colors: {
  custom: {
    50: '#7680aa',
    500: '#394f87',
    950: '#000000',
  },
}
SCSS
$custom: #394f87;
$custom-light: #7680aa;
$custom-dark: #000000;
JSON
{
  "hex": "#394f87",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 223.077,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43784,
    "c": 0.09653,
    "h": 266.3
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#394F87
secondary
#AE9C6E
accent
#AE57D0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #394F87

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

Preview Lab → · Contrast checker → · Palette generator →

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