#394571#394571

#394571 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.076 H 271.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#394571
RGBrgb(57, 69, 113)
HSLhsl(227, 33%, 33%)
HSVhsv(227, 50%, 44%)
CMYKcmyk(49.6%, 38.9%, 0%, 55.7%)
CIE-LABlab(30.20, 8.38, -26.93)
CIE-LCHlch(30.20, 28.20, 287.28°)
OKLaboklab(40.13% 0.0014 -0.0759)
OKLCHoklch(40.13% 0.076 271.1)
XYZxyz(6.7952, 6.3180, 16.4810)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394571 #716539
analogous
#396171 #394571 #493971
triadic
#394571 #713945 #457139
tetradic
#394571 #713961 #716539 #397149
square
#394571 #713961 #716539 #397149
split-complementary
#394571 #714939 #617139
monochromatic
#101320 #242C48 #394571 #4E5E9A #6E7EB6

Accessibility & contrast

On white

9.28
#394571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#394571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394571
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394571#FFFFFF#000000##FFFFFF
##3945711.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#2F4570
Tritanopia (blue-blind)
#244E55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394571;
/* rgb */ color: rgb(57, 69, 113);
/* oklch */ color: oklch(40.1% 0.076 271.1);
Tailwind
colors: {
  custom: {
    50: '#73789a',
    500: '#394571',
    950: '#000000',
  },
}
SCSS
$custom: #394571;
$custom-light: #73789a;
$custom-dark: #000000;
JSON
{
  "hex": "#394571",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 227.143,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.07593,
    "h": 271.1
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#394571
secondary
#A09366
accent
#B25FC9
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #394571

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

Preview Lab → · Contrast checker → · Palette generator →

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