#394151#394151

#394151 is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.5% C 0.030 H 264.1°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#394151
RGBrgb(57, 65, 81)
HSLhsl(220, 17%, 27%)
HSVhsv(220, 30%, 32%)
CMYKcmyk(29.6%, 19.8%, 0%, 68.2%)
CIE-LABlab(27.42, 0.97, -10.71)
CIE-LCHlch(27.42, 10.75, 275.16°)
OKLaboklab(37.46% -0.003 -0.0294)
OKLCHoklch(37.46% 0.03 264.1)
XYZxyz(5.0624, 5.2444, 8.5285)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394151 #514939
analogous
#394D51 #394151 #3D3951
triadic
#394151 #513941 #415139
tetradic
#394151 #51394D #514939 #39513D
square
#394151 #51394D #514939 #39513D
split-complementary
#394151 #513D39 #4D5139
monochromatic
#0D0E12 #20242D #394151 #525E75 #6C7B98

Accessibility & contrast

On white

10.25
#394151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#394151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394151
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394151#FFFFFF#000000##FFFFFF
##3941511.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#3A4051
Tritanopia (blue-blind)
#334446
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #394151;
/* rgb */ color: rgb(57, 65, 81);
/* oklch */ color: oklch(37.5% 0.030 264.1);
Tailwind
colors: {
  custom: {
    50: '#707581',
    500: '#394151',
    950: '#000000',
  },
}
SCSS
$custom: #394151;
$custom-light: #707581;
$custom-dark: #000000;
JSON
{
  "hex": "#394151",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 220,
    "s": 17.391,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37459,
    "c": 0.02953,
    "h": 264.1
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#394151
secondary
#817865
accent
#A16EBA
background
#F6F7F7
surface
#ECEDEE
border
#C7C8C9
text
#07080A
muted
#7A7B7C

Preview Lab

Preview with #394151

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

Preview Lab → · Contrast checker → · Palette generator →

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