#394294#394294

#394294 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.134 H 274.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#394294
RGBrgb(57, 66, 148)
HSLhsl(234, 44%, 40%)
HSVhsv(234, 61%, 58%)
CMYKcmyk(61.5%, 55.4%, 0%, 42%)
CIE-LABlab(31.59, 22.61, -46.44)
CIE-LCHlch(31.59, 51.65, 295.95°)
OKLaboklab(41.9% 0.0102 -0.1332)
OKLCHoklch(41.9% 0.134 274.4)
XYZxyz(8.9791, 6.9037, 28.8706)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394294 #948B39
analogous
#396F94 #394294 #5D3994
triadic
#394294 #943942 #429439
tetradic
#394294 #94396F #948B39 #39945D
square
#394294 #94396F #948B39 #39945D
split-complementary
#394294 #945D39 #6F9439
monochromatic
#171B3C #282E68 #394294 #4F5ABB #7B83CC

Accessibility & contrast

On white

8.82
#394294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#394294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394294
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394294#FFFFFF#000000##FFFFFF
##3942941.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E97
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394294;
/* rgb */ color: rgb(57, 66, 148);
/* oklch */ color: oklch(41.9% 0.134 274.4);
Tailwind
colors: {
  custom: {
    50: '#7976b4',
    500: '#394294',
    950: '#000000',
  },
}
SCSS
$custom: #394294;
$custom-light: #7976b4;
$custom-dark: #000000;
JSON
{
  "hex": "#394294",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 234.066,
    "s": 44.39,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41903,
    "c": 0.13358,
    "h": 274.4
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394294

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

Preview Lab → · Contrast checker → · Palette generator →

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