#394060#394060

#394060 is a dark, muted blue. Relative luminance 0.054; OKLCH L 38.0% C 0.056 H 274.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#394060
RGBrgb(57, 64, 96)
HSLhsl(229, 25%, 30%)
HSVhsv(229, 41%, 38%)
CMYKcmyk(40.6%, 33.3%, 0%, 62.4%)
CIE-LABlab(27.79, 6.16, -19.86)
CIE-LCHlch(27.79, 20.80, 287.22°)
OKLaboklab(37.98% 0.0039 -0.0554)
OKLCHoklch(37.98% 0.056 274)
XYZxyz(5.6314, 5.3809, 11.8060)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394060 #605939
analogous
#395360 #394060 #463960
triadic
#394060 #603940 #406039
tetradic
#394060 #603953 #605939 #396046
square
#394060 #603953 #605939 #396046
split-complementary
#394060 #604639 #536039
monochromatic
#0B0D13 #22263A #394060 #505A86 #6C77A8

Accessibility & contrast

On white

10.11
#394060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#394060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394060
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394060#FFFFFF#000000##FFFFFF
##3940601.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354361
Deuteranopia (green-blind)
#32405F
Tritanopia (blue-blind)
#2D464B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #394060;
/* rgb */ color: rgb(57, 64, 96);
/* oklch */ color: oklch(38.0% 0.056 274.0);
Tailwind
colors: {
  custom: {
    50: '#71748d',
    500: '#394060',
    950: '#000000',
  },
}
SCSS
$custom: #394060;
$custom-light: #71748d;
$custom-dark: #000000;
JSON
{
  "hex": "#394060",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 96
  },
  "hsl": {
    "h": 229.231,
    "s": 25.49,
    "l": 30
  },
  "oklch": {
    "l": 0.37976,
    "c": 0.05559,
    "h": 274
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#394060
secondary
#908865
accent
#B166C2
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #394060

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

Preview Lab → · Contrast checker → · Palette generator →

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