#394071#394071

#394071 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.083 H 275.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#394071
RGBrgb(57, 64, 113)
HSLhsl(233, 33%, 33%)
HSVhsv(233, 50%, 44%)
CMYKcmyk(49.6%, 43.4%, 0%, 55.7%)
CIE-LABlab(28.72, 11.73, -29.28)
CIE-LCHlch(28.72, 31.54, 291.83°)
OKLaboklab(38.99% 0.0083 -0.0828)
OKLCHoklch(38.99% 0.083 275.7)
XYZxyz(6.5005, 5.7285, 16.3828)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394071 #716A39
analogous
#395C71 #394071 #4E3971
triadic
#394071 #713940 #407139
tetradic
#394071 #71395C #716A39 #39714E
square
#394071 #71395C #716A39 #39714E
split-complementary
#394071 #714E39 #5C7139
monochromatic
#101220 #242948 #394071 #4E579A #6E77B6

Accessibility & contrast

On white

9.79
#394071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#394071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394071
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394071#FFFFFF#000000##FFFFFF
##3940711.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#284270
Tritanopia (blue-blind)
#244A53
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #394071;
/* rgb */ color: rgb(57, 64, 113);
/* oklch */ color: oklch(39.0% 0.083 275.7);
Tailwind
colors: {
  custom: {
    50: '#73749a',
    500: '#394071',
    950: '#000000',
  },
}
SCSS
$custom: #394071;
$custom-light: #73749a;
$custom-dark: #000000;
JSON
{
  "hex": "#394071",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 232.5,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38989,
    "c": 0.08321,
    "h": 275.7
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#394071
secondary
#A09866
accent
#BC5FC9
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #394071

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

Preview Lab → · Contrast checker → · Palette generator →

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