#394599#394599

#394599 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.137 H 273.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#394599
RGBrgb(57, 69, 153)
HSLhsl(233, 46%, 41%)
HSVhsv(233, 63%, 60%)
CMYKcmyk(62.7%, 54.9%, 0%, 40%)
CIE-LABlab(32.76, 22.40, -47.60)
CIE-LCHlch(32.76, 52.60, 295.20°)
OKLaboklab(42.9% 0.0074 -0.1365)
OKLCHoklch(42.9% 0.137 273.1)
XYZxyz(9.5633, 7.4252, 31.0601)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394599 #998D39
analogous
#397599 #394599 #5D3999
triadic
#394599 #993945 #459939
tetradic
#394599 #993975 #998D39 #39995D
square
#394599 #993975 #998D39 #39995D
split-complementary
#394599 #995D39 #759939
monochromatic
#181D40 #28316C #394599 #515FBE #7E88CF

Accessibility & contrast

On white

8.45
#394599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#394599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394599
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394599#FFFFFF#000000##FFFFFF
##3945991.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C519C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #394599;
/* rgb */ color: rgb(57, 69, 153);
/* oklch */ color: oklch(42.9% 0.137 273.1);
Tailwind
colors: {
  custom: {
    50: '#7978b8',
    500: '#394599',
    950: '#000000',
  },
}
SCSS
$custom: #394599;
$custom-light: #7978b8;
$custom-dark: #000000;
JSON
{
  "hex": "#394599",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 232.5,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.13675,
    "h": 273.1
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#394599
secondary
#B8B076
accent
#C552D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394599

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

Preview Lab → · Contrast checker → · Palette generator →

#394599 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva