#394587#394587

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

Color values

HEX#394587
RGBrgb(57, 69, 135)
HSLhsl(231, 41%, 38%)
HSVhsv(231, 58%, 53%)
CMYKcmyk(57.8%, 48.9%, 0%, 47.1%)
CIE-LABlab(31.52, 15.99, -38.57)
CIE-LCHlch(31.52, 41.75, 292.52°)
OKLaboklab(41.57% 0.0057 -0.11)
OKLCHoklch(41.57% 0.11 273)
XYZxyz(8.1872, 6.8748, 23.8125)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394587 #877B39
analogous
#396C87 #394587 #543987
triadic
#394587 #873945 #458739
tetradic
#394587 #87396C #877B39 #398754
square
#394587 #87396C #877B39 #398754
split-complementary
#394587 #875439 #6C8739
monochromatic
#151931 #272F5C #394587 #4B5BB2 #7582C5

Accessibility & contrast

On white

8.84
#394587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394587
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394587#FFFFFF#000000##FFFFFF
##3945871.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E89
Deuteranopia (green-blind)
#1B4786
Tritanopia (blue-blind)
#0B545F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394587;
/* rgb */ color: rgb(57, 69, 135);
/* oklch */ color: oklch(41.6% 0.110 273.0);
Tailwind
colors: {
  custom: {
    50: '#7678aa',
    500: '#394587',
    950: '#000000',
  },
}
SCSS
$custom: #394587;
$custom-light: #7678aa;
$custom-dark: #000000;
JSON
{
  "hex": "#394587",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 230.769,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.11015,
    "h": 273
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#394587
secondary
#AEA46E
accent
#BE57D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394587

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

Preview Lab → · Contrast checker → · Palette generator →

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