#394166#394166

#394166 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.064 H 273.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#394166
RGBrgb(57, 65, 102)
HSLhsl(229, 28%, 31%)
HSVhsv(229, 44%, 40%)
CMYKcmyk(44.1%, 36.3%, 0%, 60%)
CIE-LABlab(28.41, 7.41, -22.76)
CIE-LCHlch(28.41, 23.94, 288.03°)
OKLaboklab(38.55% 0.0042 -0.0638)
OKLCHoklch(38.55% 0.064 273.7)
XYZxyz(5.9752, 5.6095, 13.3357)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394166 #665E39
analogous
#395766 #394166 #473966
triadic
#394166 #663941 #416639
tetradic
#394166 #663957 #665E39 #396647
square
#394166 #663957 #665E39 #396647
split-complementary
#394166 #664739 #576639
monochromatic
#0D0F17 #23283F #394166 #4F5A8D #6C78AD

Accessibility & contrast

On white

9.90
#394166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#394166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394166
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394166#FFFFFF#000000##FFFFFF
##3941661.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344568
Deuteranopia (green-blind)
#314165
Tritanopia (blue-blind)
#2A484E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #394166;
/* rgb */ color: rgb(57, 65, 102);
/* oklch */ color: oklch(38.5% 0.064 273.7);
Tailwind
colors: {
  custom: {
    50: '#727592',
    500: '#394166',
    950: '#000000',
  },
}
SCSS
$custom: #394166;
$custom-light: #727592;
$custom-dark: #000000;
JSON
{
  "hex": "#394166",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 229.333,
    "s": 28.302,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38549,
    "c": 0.06397,
    "h": 273.7
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#394166
secondary
#968D65
accent
#B363C5
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080D
muted
#7B7B7D

Preview Lab

Preview with #394166

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

Preview Lab → · Contrast checker → · Palette generator →

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