#394196#394196

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

Color values

HEX#394196
RGBrgb(57, 65, 150)
HSLhsl(235, 45%, 41%)
HSVhsv(235, 62%, 59%)
CMYKcmyk(62%, 56.7%, 0%, 41.2%)
CIE-LABlab(31.47, 23.98, -47.86)
CIE-LCHlch(31.47, 53.53, 296.61°)
OKLaboklab(41.86% 0.0113 -0.1374)
OKLCHoklch(41.86% 0.138 274.7)
XYZxyz(9.0809, 6.8517, 29.6922)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394196 #968E39
analogous
#396F96 #394196 #5F3996
triadic
#394196 #963941 #419639
tetradic
#394196 #96396F #968E39 #39965F
square
#394196 #96396F #968E39 #39965F
split-complementary
#394196 #965F39 #6F9639
monochromatic
#171B3D #282E6A #394196 #5059BC #7C83CD

Accessibility & contrast

On white

8.86
#394196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#394196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394196
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394196#FFFFFF#000000##FFFFFF
##3941961.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394196;
/* rgb */ color: rgb(57, 65, 150);
/* oklch */ color: oklch(41.9% 0.138 274.7);
Tailwind
colors: {
  custom: {
    50: '#7975b5',
    500: '#394196',
    950: '#000000',
  },
}
SCSS
$custom: #394196;
$custom-light: #7975b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394196",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 234.839,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.13783,
    "h": 274.7
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#394196
secondary
#B7B174
accent
#C953D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394196

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

Preview Lab → · Contrast checker → · Palette generator →

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