#394496#394496

#394496 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.134 H 273.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#394496
RGBrgb(57, 68, 150)
HSLhsl(233, 45%, 41%)
HSVhsv(233, 62%, 59%)
CMYKcmyk(62%, 54.7%, 0%, 41.2%)
CIE-LABlab(32.27, 21.99, -46.56)
CIE-LCHlch(32.27, 51.49, 295.28°)
OKLaboklab(42.46% 0.0083 -0.1335)
OKLCHoklch(42.46% 0.134 273.5)
XYZxyz(9.2577, 7.2054, 29.7512)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394496 #968B39
analogous
#397296 #394496 #5C3996
triadic
#394496 #963944 #449639
tetradic
#394496 #963972 #968B39 #39965C
square
#394496 #963972 #968B39 #39965C
split-complementary
#394496 #965C39 #729639
monochromatic
#171C3D #28306A #394496 #505DBC #7C86CD

Accessibility & contrast

On white

8.60
#394496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#394496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394496
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394496#FFFFFF#000000##FFFFFF
##3944961.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5099
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #394496;
/* rgb */ color: rgb(57, 68, 150);
/* oklch */ color: oklch(42.5% 0.134 273.5);
Tailwind
colors: {
  custom: {
    50: '#7977b5',
    500: '#394496',
    950: '#000000',
  },
}
SCSS
$custom: #394496;
$custom-light: #7977b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394496",
  "rgb": {
    "r": 57,
    "g": 68,
    "b": 150
  },
  "hsl": {
    "h": 232.903,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42462,
    "c": 0.13377,
    "h": 273.5
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#394496
secondary
#B7AF74
accent
#C553D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394496

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

Preview Lab → · Contrast checker → · Palette generator →

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