#394366#394366

#394366 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.061 H 271.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#394366
RGBrgb(57, 67, 102)
HSLhsl(227, 28%, 31%)
HSVhsv(227, 44%, 40%)
CMYKcmyk(44.1%, 34.3%, 0%, 60%)
CIE-LABlab(29.01, 6.08, -21.81)
CIE-LCHlch(29.01, 22.64, 285.57°)
OKLaboklab(39.02% 0.0013 -0.0611)
OKLCHoklch(39.02% 0.061 271.2)
XYZxyz(6.0920, 5.8432, 13.3746)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394366 #665C39
analogous
#395966 #394366 #453966
triadic
#394366 #663943 #436639
tetradic
#394366 #663959 #665C39 #396645
square
#394366 #663959 #665C39 #396645
split-complementary
#394366 #664539 #596639
monochromatic
#0D0F17 #23293F #394366 #4F5D8D #6C7BAD

Accessibility & contrast

On white

9.68
#394366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#394366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394366
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394366#FFFFFF#000000##FFFFFF
##3943661.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374667
Deuteranopia (green-blind)
#334365
Tritanopia (blue-blind)
#2A4A50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #394366;
/* rgb */ color: rgb(57, 67, 102);
/* oklch */ color: oklch(39.0% 0.061 271.2);
Tailwind
colors: {
  custom: {
    50: '#717792',
    500: '#394366',
    950: '#000000',
  },
}
SCSS
$custom: #394366;
$custom-light: #717792;
$custom-dark: #000000;
JSON
{
  "hex": "#394366",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 226.667,
    "s": 28.302,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3902,
    "c": 0.06108,
    "h": 271.2
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#394366
secondary
#968B65
accent
#AF63C5
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#08080D
muted
#7B7B7D

Preview Lab

Preview with #394366

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

Preview Lab → · Contrast checker → · Palette generator →

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