#394768#394768

#394768 is a dark, muted blue. Relative luminance 0.064; OKLCH L 40.1% C 0.059 H 266.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#394768
RGBrgb(57, 71, 104)
HSLhsl(222, 29%, 32%)
HSVhsv(222, 45%, 41%)
CMYKcmyk(45.2%, 31.7%, 0%, 59.2%)
CIE-LABlab(30.34, 4.08, -21.01)
CIE-LCHlch(30.34, 21.40, 280.98°)
OKLaboklab(40.08% -0.0039 -0.0587)
OKLCHoklch(40.08% 0.059 266.2)
XYZxyz(6.4385, 6.3755, 13.9853)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394768 #685A39
analogous
#395F68 #394768 #433968
triadic
#394768 #683947 #476839
tetradic
#394768 #68395F #685A39 #396843
square
#394768 #68395F #685A39 #396843
split-complementary
#394768 #684339 #5F6839
monochromatic
#0E1119 #232C40 #394768 #4F6290 #6D80AF

Accessibility & contrast

On white

9.23
#394768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#394768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394768
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394768#FFFFFF#000000##FFFFFF
##3947681.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4A69
Deuteranopia (green-blind)
#374667
Tritanopia (blue-blind)
#294E53
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394768;
/* rgb */ color: rgb(57, 71, 104);
/* oklch */ color: oklch(40.1% 0.059 266.2);
Tailwind
colors: {
  custom: {
    50: '#727a93',
    500: '#394768',
    950: '#000000',
  },
}
SCSS
$custom: #394768;
$custom-light: #727a93;
$custom-dark: #000000;
JSON
{
  "hex": "#394768",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 104
  },
  "hsl": {
    "h": 222.128,
    "s": 29.193,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40083,
    "c": 0.05888,
    "h": 266.2
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#394768
secondary
#988965
accent
#A862C5
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#08090D
muted
#7B7B7E

Preview Lab

Preview with #394768

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

Preview Lab → · Contrast checker → · Palette generator →

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