#394471#394471

#394471 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.077 H 272.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#394471
RGBrgb(57, 68, 113)
HSLhsl(228, 33%, 33%)
HSVhsv(228, 50%, 44%)
CMYKcmyk(49.6%, 39.8%, 0%, 55.7%)
CIE-LABlab(29.90, 9.04, -27.40)
CIE-LCHlch(29.90, 28.86, 288.27°)
OKLaboklab(39.9% 0.0028 -0.0773)
OKLCHoklch(39.9% 0.077 272.1)
XYZxyz(6.7342, 6.1960, 16.4607)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394471 #716639
analogous
#396071 #394471 #4A3971
triadic
#394471 #713944 #447139
tetradic
#394471 #713960 #716639 #39714A
square
#394471 #713960 #716639 #39714A
split-complementary
#394471 #714A39 #607139
monochromatic
#101320 #242C48 #394471 #4E5C9A #6E7CB6

Accessibility & contrast

On white

9.38
#394471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#394471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394471
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394471#FFFFFF#000000##FFFFFF
##3944711.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#244D55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #394471;
/* rgb */ color: rgb(57, 68, 113);
/* oklch */ color: oklch(39.9% 0.077 272.1);
Tailwind
colors: {
  custom: {
    50: '#73779a',
    500: '#394471',
    950: '#000000',
  },
}
SCSS
$custom: #394471;
$custom-light: #73779a;
$custom-dark: #000000;
JSON
{
  "hex": "#394471",
  "rgb": {
    "r": 57,
    "g": 68,
    "b": 113
  },
  "hsl": {
    "h": 228.214,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39898,
    "c": 0.07735,
    "h": 272.1
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#394471
secondary
#A09466
accent
#B45FC9
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #394471

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

Preview Lab → · Contrast checker → · Palette generator →

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