#394598#394598

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

Color values

HEX#394598
RGBrgb(57, 69, 152)
HSLhsl(232, 45%, 41%)
HSVhsv(232, 63%, 60%)
CMYKcmyk(62.5%, 54.6%, 0%, 40.4%)
CIE-LABlab(32.68, 22.04, -47.10)
CIE-LCHlch(32.68, 52.01, 295.08°)
OKLaboklab(42.82% 0.0074 -0.1351)
OKLCHoklch(42.82% 0.135 273.1)
XYZxyz(9.4811, 7.3923, 30.6269)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394598 #988C39
analogous
#397498 #394598 #5C3998
triadic
#394598 #983945 #459839
tetradic
#394598 #983974 #988C39 #39985C
square
#394598 #983974 #988C39 #39985C
split-complementary
#394598 #985C39 #749839
monochromatic
#181D3F #28316B #394598 #515EBE #7D87CE

Accessibility & contrast

On white

8.47
#394598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#394598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394598
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394598#FFFFFF#000000##FFFFFF
##3945981.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #394598;
/* rgb */ color: rgb(57, 69, 152);
/* oklch */ color: oklch(42.8% 0.135 273.1);
Tailwind
colors: {
  custom: {
    50: '#7978b7',
    500: '#394598',
    950: '#000000',
  },
}
SCSS
$custom: #394598;
$custom-light: #7978b7;
$custom-dark: #000000;
JSON
{
  "hex": "#394598",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 232.421,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.13531,
    "h": 273.1
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#394598
secondary
#B8AF75
accent
#C553D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394598

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

Preview Lab → · Contrast checker → · Palette generator →

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