#394096#394096

#394096 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.139 H 275.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#394096
RGBrgb(57, 64, 150)
HSLhsl(235, 45%, 41%)
HSVhsv(235, 62%, 59%)
CMYKcmyk(62%, 57.3%, 0%, 41.2%)
CIE-LABlab(31.20, 24.64, -48.28)
CIE-LCHlch(31.20, 54.21, 297.04°)
OKLaboklab(41.66% 0.0123 -0.1386)
OKLCHoklch(41.66% 0.139 275.1)
XYZxyz(9.0240, 6.7379, 29.6733)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394096 #968F39
analogous
#396E96 #394096 #603996
triadic
#394096 #963940 #409639
tetradic
#394096 #96396E #968F39 #399660
square
#394096 #96396E #968F39 #399660
split-complementary
#394096 #966039 #6E9639
monochromatic
#171A3D #282D6A #394096 #5058BC #7C82CD

Accessibility & contrast

On white

8.94
#394096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#394096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394096
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394096#FFFFFF#000000##FFFFFF
##3940961.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394096;
/* rgb */ color: rgb(57, 64, 150);
/* oklch */ color: oklch(41.7% 0.139 275.1);
Tailwind
colors: {
  custom: {
    50: '#7974b5',
    500: '#394096',
    950: '#000000',
  },
}
SCSS
$custom: #394096;
$custom-light: #7974b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394096",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 235.484,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.13918,
    "h": 275.1
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#394096
secondary
#B7B274
accent
#CB53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394096

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

Preview Lab → · Contrast checker → · Palette generator →

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