#394396#394396

#394396 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.135 H 273.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#394396
RGBrgb(57, 67, 150)
HSLhsl(234, 45%, 41%)
HSVhsv(234, 62%, 59%)
CMYKcmyk(62%, 55.3%, 0%, 41.2%)
CIE-LABlab(32.00, 22.65, -46.99)
CIE-LCHlch(32.00, 52.17, 295.74°)
OKLaboklab(42.26% 0.0093 -0.1348)
OKLCHoklch(42.26% 0.135 273.9)
XYZxyz(9.1977, 7.0854, 29.7312)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394396 #968C39
analogous
#397296 #394396 #5D3996
triadic
#394396 #963943 #439639
tetradic
#394396 #963972 #968C39 #39965D
square
#394396 #963972 #968C39 #39965D
split-complementary
#394396 #965D39 #729639
monochromatic
#171B3D #282F6A #394396 #505BBC #7C85CD

Accessibility & contrast

On white

8.69
#394396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#394396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394396
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394396#FFFFFF#000000##FFFFFF
##3943961.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094F99
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #394396;
/* rgb */ color: rgb(57, 67, 150);
/* oklch */ color: oklch(42.3% 0.135 273.9);
Tailwind
colors: {
  custom: {
    50: '#7977b5',
    500: '#394396',
    950: '#000000',
  },
}
SCSS
$custom: #394396;
$custom-light: #7977b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394396",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 233.548,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4226,
    "c": 0.13512,
    "h": 273.9
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394396

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

Preview Lab → · Contrast checker → · Palette generator →

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