#394292#394292

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

Color values

HEX#394292
RGBrgb(57, 66, 146)
HSLhsl(234, 44%, 40%)
HSVhsv(234, 61%, 57%)
CMYKcmyk(61%, 54.8%, 0%, 42.7%)
CIE-LABlab(31.44, 21.89, -45.45)
CIE-LCHlch(31.44, 50.45, 295.72°)
OKLaboklab(41.75% 0.0101 -0.1303)
OKLCHoklch(41.75% 0.131 274.4)
XYZxyz(8.8222, 6.8409, 28.0441)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394292 #928939
analogous
#396E92 #394292 #5D3992
triadic
#394292 #923942 #429239
tetradic
#394292 #92396E #928939 #39925D
square
#394292 #92396E #928939 #39925D
split-complementary
#394292 #925D39 #6E9239
monochromatic
#171A3A #282E66 #394292 #4E59BA #7A82CB

Accessibility & contrast

On white

8.87
#394292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#394292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394292
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394292#FFFFFF#000000##FFFFFF
##3942921.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394292;
/* rgb */ color: rgb(57, 66, 146);
/* oklch */ color: oklch(41.7% 0.131 274.4);
Tailwind
colors: {
  custom: {
    50: '#7876b3',
    500: '#394292',
    950: '#000000',
  },
}
SCSS
$custom: #394292;
$custom-light: #7876b3;
$custom-dark: #000000;
JSON
{
  "hex": "#394292",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 233.933,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41749,
    "c": 0.13068,
    "h": 274.4
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#394292
secondary
#B4AE72
accent
#C754D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394292

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

Preview Lab → · Contrast checker → · Palette generator →

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