#394996#394996

#394996 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.127 H 271.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#394996
RGBrgb(57, 73, 150)
HSLhsl(230, 45%, 41%)
HSVhsv(230, 62%, 59%)
CMYKcmyk(62%, 51.3%, 0%, 41.2%)
CIE-LABlab(33.64, 18.67, -44.35)
CIE-LCHlch(33.64, 48.12, 292.83°)
OKLaboklab(43.49% 0.003 -0.1269)
OKLCHoklch(43.49% 0.127 271.4)
XYZxyz(9.5731, 7.8362, 29.8563)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394996 #968639
analogous
#397896 #394996 #573996
triadic
#394996 #963949 #499639
tetradic
#394996 #963978 #968639 #399657
square
#394996 #963978 #968639 #399657
split-complementary
#394996 #965739 #789639
monochromatic
#171E3D #28336A #394996 #5062BC #7C8ACD

Accessibility & contrast

On white

8.18
#394996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#394996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394996
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394996#FFFFFF#000000##FFFFFF
##3949961.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5399
Deuteranopia (green-blind)
#094B94
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #394996;
/* rgb */ color: rgb(57, 73, 150);
/* oklch */ color: oklch(43.5% 0.127 271.4);
Tailwind
colors: {
  custom: {
    50: '#797bb5',
    500: '#394996',
    950: '#000000',
  },
}
SCSS
$custom: #394996;
$custom-light: #797bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#394996",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 229.677,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.12699,
    "h": 271.4
  },
  "luminance": 0.07837
}

Semantic roles & 50–950 ramp

primary
#394996
secondary
#B7AB74
accent
#BE53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394996

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

Preview Lab → · Contrast checker → · Palette generator →

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