#394094#394094

#394094 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.136 H 275.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#394094
RGBrgb(57, 64, 148)
HSLhsl(235, 44%, 40%)
HSVhsv(235, 61%, 58%)
CMYKcmyk(61.5%, 56.8%, 0%, 42%)
CIE-LABlab(31.05, 23.93, -47.30)
CIE-LCHlch(31.05, 53.01, 296.83°)
OKLaboklab(41.5% 0.0123 -0.1357)
OKLCHoklch(41.5% 0.136 275.2)
XYZxyz(8.8643, 6.6741, 28.8323)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394094 #948D39
analogous
#396D94 #394094 #603994
triadic
#394094 #943940 #409439
tetradic
#394094 #94396D #948D39 #399460
square
#394094 #94396D #948D39 #399460
split-complementary
#394094 #946039 #6D9439
monochromatic
#171A3C #282D68 #394094 #4F57BB #7B81CC

Accessibility & contrast

On white

8.99
#394094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#394094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394094
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394094#FFFFFF#000000##FFFFFF
##3940941.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394094;
/* rgb */ color: rgb(57, 64, 148);
/* oklch */ color: oklch(41.5% 0.136 275.2);
Tailwind
colors: {
  custom: {
    50: '#7974b4',
    500: '#394094',
    950: '#000000',
  },
}
SCSS
$custom: #394094;
$custom-light: #7974b4;
$custom-dark: #000000;
JSON
{
  "hex": "#394094",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 235.385,
    "s": 44.39,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41504,
    "c": 0.1363,
    "h": 275.2
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#394094
secondary
#B6B073
accent
#CA54D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394094

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

Preview Lab → · Contrast checker → · Palette generator →

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