#394585#394585

#394585 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.4% C 0.107 H 272.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#394585
RGBrgb(57, 69, 133)
HSLhsl(231, 40%, 37%)
HSVhsv(231, 57%, 52%)
CMYKcmyk(57.1%, 48.1%, 0%, 47.8%)
CIE-LABlab(31.39, 15.28, -37.54)
CIE-LCHlch(31.39, 40.53, 292.16°)
OKLaboklab(41.43% 0.0054 -0.107)
OKLCHoklch(41.43% 0.107 272.9)
XYZxyz(8.0477, 6.8190, 23.0779)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394585 #857939
analogous
#396B85 #394585 #533985
triadic
#394585 #853945 #458539
tetradic
#394585 #85396B #857939 #398553
square
#394585 #85396B #857939 #398553
split-complementary
#394585 #855339 #6B8539
monochromatic
#14192F #272F5A #394585 #4B5BB0 #7581C4

Accessibility & contrast

On white

8.88
#394585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#394585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394585
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394585#FFFFFF#000000##FFFFFF
##3945851.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D87
Deuteranopia (green-blind)
#1E4784
Tritanopia (blue-blind)
#0F535E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394585;
/* rgb */ color: rgb(57, 69, 133);
/* oklch */ color: oklch(41.4% 0.107 272.9);
Tailwind
colors: {
  custom: {
    50: '#7678a9',
    500: '#394585',
    950: '#000000',
  },
}
SCSS
$custom: #394585;
$custom-light: #7678a9;
$custom-dark: #000000;
JSON
{
  "hex": "#394585",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 230.526,
    "s": 40,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.10711,
    "h": 272.9
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#394585
secondary
#ADA36D
accent
#BD58D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394585

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

Preview Lab → · Contrast checker → · Palette generator →

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