#394696#394696

#394696 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.131 H 272.7°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#394696
RGBrgb(57, 70, 150)
HSLhsl(232, 45%, 41%)
HSVhsv(232, 62%, 59%)
CMYKcmyk(62%, 53.3%, 0%, 41.2%)
CIE-LABlab(32.81, 20.66, -45.68)
CIE-LCHlch(32.81, 50.14, 294.34°)
OKLaboklab(42.87% 0.0062 -0.1309)
OKLCHoklch(42.87% 0.131 272.7)
XYZxyz(9.3807, 7.4514, 29.7922)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394696 #968939
analogous
#397496 #394696 #5A3996
triadic
#394696 #963946 #469639
tetradic
#394696 #963974 #968939 #39965A
square
#394696 #963974 #968939 #39965A
split-complementary
#394696 #965A39 #749639
monochromatic
#171D3D #28316A #394696 #505FBC #7C87CD

Accessibility & contrast

On white

8.43
#394696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#394696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394696
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394696#FFFFFF#000000##FFFFFF
##3946961.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165199
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #394696;
/* rgb */ color: rgb(57, 70, 150);
/* oklch */ color: oklch(42.9% 0.131 272.7);
Tailwind
colors: {
  custom: {
    50: '#7979b5',
    500: '#394696',
    950: '#000000',
  },
}
SCSS
$custom: #394696;
$custom-light: #7979b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394696",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 231.613,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.13106,
    "h": 272.7
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#394696
secondary
#B7AD74
accent
#C353D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394696

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

Preview Lab → · Contrast checker → · Palette generator →

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