#394595#394595

#394595 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.131 H 273.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#394595
RGBrgb(57, 69, 149)
HSLhsl(232, 45%, 40%)
HSVhsv(232, 62%, 58%)
CMYKcmyk(61.7%, 53.7%, 0%, 41.6%)
CIE-LABlab(32.47, 20.97, -45.63)
CIE-LCHlch(32.47, 50.21, 294.68°)
OKLaboklab(42.59% 0.0072 -0.1308)
OKLCHoklch(42.59% 0.131 273.1)
XYZxyz(9.2385, 7.2953, 29.3492)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394595 #958939
analogous
#397395 #394595 #5B3995
triadic
#394595 #953945 #459539
tetradic
#394595 #953973 #958939 #39955B
square
#394595 #953973 #958939 #39955B
split-complementary
#394595 #955B39 #739539
monochromatic
#171C3C #283169 #394595 #4F5EBC #7C86CD

Accessibility & contrast

On white

8.54
#394595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#394595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394595
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394595#FFFFFF#000000##FFFFFF
##3945951.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155198
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #394595;
/* rgb */ color: rgb(57, 69, 149);
/* oklch */ color: oklch(42.6% 0.131 273.1);
Tailwind
colors: {
  custom: {
    50: '#7978b5',
    500: '#394595',
    950: '#000000',
  },
}
SCSS
$custom: #394595;
$custom-light: #7978b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394595",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 232.174,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42589,
    "c": 0.13096,
    "h": 273.1
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#394595
secondary
#B6AD74
accent
#C453D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394595

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

Preview Lab → · Contrast checker → · Palette generator →

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