#394889#394889

#394889 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.4% C 0.109 H 271.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#394889
RGBrgb(57, 72, 137)
HSLhsl(229, 41%, 38%)
HSVhsv(229, 58%, 54%)
CMYKcmyk(58.4%, 47.4%, 0%, 46.3%)
CIE-LABlab(32.50, 14.70, -38.23)
CIE-LCHlch(32.50, 40.95, 291.03°)
OKLaboklab(42.36% 0.0025 -0.109)
OKLCHoklch(42.36% 0.109 271.3)
XYZxyz(8.5186, 7.3101, 24.6242)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394889 #897A39
analogous
#397089 #394889 #523989
triadic
#394889 #893948 #488939
tetradic
#394889 #893970 #897A39 #398952
square
#394889 #893970 #897A39 #398952
split-complementary
#394889 #895239 #708939
monochromatic
#151B33 #27315E #394889 #4B5FB4 #7685C6

Accessibility & contrast

On white

8.53
#394889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#394889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394889
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394889#FFFFFF#000000##FFFFFF
##3948891.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#1F4988
Tritanopia (blue-blind)
#065662
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #394889;
/* rgb */ color: rgb(57, 72, 137);
/* oklch */ color: oklch(42.4% 0.109 271.3);
Tailwind
colors: {
  custom: {
    50: '#767aac',
    500: '#394889',
    950: '#000000',
  },
}
SCSS
$custom: #394889;
$custom-light: #767aac;
$custom-dark: #000000;
JSON
{
  "hex": "#394889",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 228.75,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42356,
    "c": 0.10899,
    "h": 271.3
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#394889
secondary
#AFA36F
accent
#BA57D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394889

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

Preview Lab → · Contrast checker → · Palette generator →

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