#394588#394588

#394588 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.6% C 0.112 H 273.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#394588
RGBrgb(57, 69, 136)
HSLhsl(231, 41%, 38%)
HSVhsv(231, 58%, 53%)
CMYKcmyk(58.1%, 49.3%, 0%, 46.7%)
CIE-LABlab(31.59, 16.34, -39.08)
CIE-LCHlch(31.59, 42.36, 292.70°)
OKLaboklab(41.64% 0.0058 -0.1115)
OKLCHoklch(41.64% 0.112 273)
XYZxyz(8.2579, 6.9031, 24.1850)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394588 #887C39
analogous
#396C88 #394588 #543988
triadic
#394588 #883945 #458839
tetradic
#394588 #88396C #887C39 #398854
square
#394588 #88396C #887C39 #398854
split-complementary
#394588 #885439 #6C8839
monochromatic
#151932 #272F5D #394588 #4B5BB3 #7682C6

Accessibility & contrast

On white

8.82
#394588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#394588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394588
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394588#FFFFFF#000000##FFFFFF
##3945881.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8A
Deuteranopia (green-blind)
#1A4787
Tritanopia (blue-blind)
#095460
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394588;
/* rgb */ color: rgb(57, 69, 136);
/* oklch */ color: oklch(41.6% 0.112 273.0);
Tailwind
colors: {
  custom: {
    50: '#7678ab',
    500: '#394588',
    950: '#000000',
  },
}
SCSS
$custom: #394588;
$custom-light: #7678ab;
$custom-dark: #000000;
JSON
{
  "hex": "#394588",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 136
  },
  "hsl": {
    "h": 230.886,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41637,
    "c": 0.11165,
    "h": 273
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#394588
secondary
#AFA56E
accent
#BE57D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394588

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

Preview Lab → · Contrast checker → · Palette generator →

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