#394291#394291

#394291 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.129 H 274.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#394291
RGBrgb(57, 66, 145)
HSLhsl(234, 44%, 40%)
HSVhsv(234, 61%, 57%)
CMYKcmyk(60.7%, 54.5%, 0%, 43.1%)
CIE-LABlab(31.37, 21.54, -44.96)
CIE-LCHlch(31.37, 49.85, 295.60°)
OKLaboklab(41.67% 0.01 -0.1288)
OKLCHoklch(41.67% 0.129 274.5)
XYZxyz(8.7447, 6.8100, 27.6362)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394291 #918839
analogous
#396E91 #394291 #5C3991
triadic
#394291 #913942 #429139
tetradic
#394291 #91396E #918839 #39915C
square
#394291 #91396E #918839 #39915C
split-complementary
#394291 #915C39 #6E9139
monochromatic
#161A39 #282E65 #394291 #4E59B9 #7A82CB

Accessibility & contrast

On white

8.89
#394291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#394291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394291
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394291#FFFFFF#000000##FFFFFF
##3942911.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394291;
/* rgb */ color: rgb(57, 66, 145);
/* oklch */ color: oklch(41.7% 0.129 274.5);
Tailwind
colors: {
  custom: {
    50: '#7876b2',
    500: '#394291',
    950: '#000000',
  },
}
SCSS
$custom: #394291;
$custom-light: #7876b2;
$custom-dark: #000000;
JSON
{
  "hex": "#394291",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 233.864,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.12921,
    "h": 274.5
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#394291
secondary
#B4AD72
accent
#C654D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394291

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

Preview Lab → · Contrast checker → · Palette generator →

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