#394487#394487

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

Color values

HEX#394487
RGBrgb(57, 68, 135)
HSLhsl(232, 41%, 38%)
HSVhsv(232, 58%, 53%)
CMYKcmyk(57.8%, 49.6%, 0%, 47.1%)
CIE-LABlab(31.24, 16.66, -39.02)
CIE-LCHlch(31.24, 42.43, 293.12°)
OKLaboklab(41.35% 0.0069 -0.1113)
OKLCHoklch(41.35% 0.112 273.5)
XYZxyz(8.1262, 6.7528, 23.7922)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394487 #877C39
analogous
#396B87 #394487 #553987
triadic
#394487 #873944 #448739
tetradic
#394487 #87396B #877C39 #398755
square
#394487 #87396B #877C39 #398755
split-complementary
#394487 #875539 #6B8739
monochromatic
#151931 #272E5C #394487 #4B5AB2 #7581C5

Accessibility & contrast

On white

8.93
#394487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#394487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394487
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394487#FFFFFF#000000##FFFFFF
##3944871.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#194686
Tritanopia (blue-blind)
#0C535F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394487;
/* rgb */ color: rgb(57, 68, 135);
/* oklch */ color: oklch(41.4% 0.112 273.5);
Tailwind
colors: {
  custom: {
    50: '#7677aa',
    500: '#394487',
    950: '#000000',
  },
}
SCSS
$custom: #394487;
$custom-light: #7677aa;
$custom-dark: #000000;
JSON
{
  "hex": "#394487",
  "rgb": {
    "r": 57,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 231.538,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.11155,
    "h": 273.5
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#394487
secondary
#AEA56E
accent
#BF57D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394487

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

Preview Lab → · Contrast checker → · Palette generator →

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