#394251#394251

#394251 is a dark, muted blue. Relative luminance 0.054; OKLCH L 37.7% C 0.028 H 260.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#394251
RGBrgb(57, 66, 81)
HSLhsl(218, 17%, 27%)
HSVhsv(218, 30%, 32%)
CMYKcmyk(29.6%, 18.5%, 0%, 68.2%)
CIE-LABlab(27.74, 0.32, -10.23)
CIE-LCHlch(27.74, 10.23, 271.76°)
OKLaboklab(37.71% -0.0046 -0.028)
OKLCHoklch(37.71% 0.028 260.6)
XYZxyz(5.1203, 5.3602, 8.5478)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394251 #514839
analogous
#394E51 #394251 #3C3951
triadic
#394251 #513942 #425139
tetradic
#394251 #51394E #514839 #39513C
square
#394251 #51394E #514839 #39513C
split-complementary
#394251 #513C39 #4E5139
monochromatic
#0D0F12 #20252D #394251 #525F75 #6C7D98

Accessibility & contrast

On white

10.14
#394251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#394251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394251
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394251#FFFFFF#000000##FFFFFF
##3942511.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4352
Deuteranopia (green-blind)
#3B4051
Tritanopia (blue-blind)
#324547
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #394251;
/* rgb */ color: rgb(57, 66, 81);
/* oklch */ color: oklch(37.7% 0.028 260.6);
Tailwind
colors: {
  custom: {
    50: '#707681',
    500: '#394251',
    950: '#000000',
  },
}
SCSS
$custom: #394251;
$custom-light: #707681;
$custom-dark: #000000;
JSON
{
  "hex": "#394251",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 81
  },
  "hsl": {
    "h": 217.5,
    "s": 17.391,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37707,
    "c": 0.02841,
    "h": 260.6
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#394251
secondary
#817665
accent
#9D6EBA
background
#F6F7F7
surface
#ECEDEE
border
#C7C8C9
text
#07080A
muted
#7A7B7C

Preview Lab

Preview with #394251

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

Preview Lab → · Contrast checker → · Palette generator →

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