#394091#394091

#394091 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.132 H 275.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#394091
RGBrgb(57, 64, 145)
HSLhsl(235, 44%, 40%)
HSVhsv(235, 61%, 57%)
CMYKcmyk(60.7%, 55.9%, 0%, 43.1%)
CIE-LABlab(30.83, 22.87, -45.83)
CIE-LCHlch(30.83, 51.22, 296.52°)
OKLaboklab(41.27% 0.0122 -0.1314)
OKLCHoklch(41.27% 0.132 275.3)
XYZxyz(8.6299, 6.5803, 27.5979)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394091 #918A39
analogous
#396C91 #394091 #5E3991
triadic
#394091 #913940 #409139
tetradic
#394091 #91396C #918A39 #39915E
square
#394091 #91396C #918A39 #39915E
split-complementary
#394091 #915E39 #6C9139
monochromatic
#161939 #282D65 #394091 #4E56B9 #7A80CB

Accessibility & contrast

On white

9.07
#394091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#394091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394091
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394091#FFFFFF#000000##FFFFFF
##3940911.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074C94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394091;
/* rgb */ color: rgb(57, 64, 145);
/* oklch */ color: oklch(41.3% 0.132 275.3);
Tailwind
colors: {
  custom: {
    50: '#7874b2',
    500: '#394091',
    950: '#000000',
  },
}
SCSS
$custom: #394091;
$custom-light: #7874b2;
$custom-dark: #000000;
JSON
{
  "hex": "#394091",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 235.227,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41269,
    "c": 0.13197,
    "h": 275.3
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#394091
secondary
#B4AF72
accent
#C954D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394091

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

Preview Lab → · Contrast checker → · Palette generator →

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