#394E99#394E99

#394E99 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.125 H 269.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#394E99
RGBrgb(57, 78, 153)
HSLhsl(227, 46%, 41%)
HSVhsv(227, 63%, 60%)
CMYKcmyk(62.7%, 49%, 0%, 40%)
CIE-LABlab(35.24, 16.44, -43.60)
CIE-LCHlch(35.24, 46.59, 290.66°)
OKLaboklab(44.77% -0.0019 -0.1247)
OKLCHoklch(44.77% 0.125 269.1)
XYZxyz(10.1596, 8.6177, 31.2588)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E99 #998439
analogous
#397E99 #394E99 #543999
triadic
#394E99 #99394E #4E9939
tetradic
#394E99 #99397E #998439 #399954
square
#394E99 #99397E #998439 #399954
split-complementary
#394E99 #995439 #7E9939
monochromatic
#182140 #28376C #394E99 #5169BE #7E8FCF

Accessibility & contrast

On white

7.71
#394E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#394E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394E99
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394E99#FFFFFF#000000##FFFFFF
##394E991.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#164F97
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394e99;
/* rgb */ color: rgb(57, 78, 153);
/* oklch */ color: oklch(44.8% 0.125 269.1);
Tailwind
colors: {
  custom: {
    50: '#797fb7',
    500: '#394e99',
    950: '#000000',
  },
}
SCSS
$custom: #394e99;
$custom-light: #797fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#394e99",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 226.875,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44771,
    "c": 0.12468,
    "h": 269.1
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#394E99
secondary
#B8AA76
accent
#B952D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #394E99

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

Preview Lab → · Contrast checker → · Palette generator →

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