#394189#394189

#394189 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.9% C 0.119 H 275.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#394189
RGBrgb(57, 65, 137)
HSLhsl(234, 41%, 38%)
HSVhsv(234, 58%, 54%)
CMYKcmyk(58.4%, 52.6%, 0%, 46.3%)
CIE-LABlab(30.53, 19.37, -41.38)
CIE-LCHlch(30.53, 45.69, 295.09°)
OKLaboklab(40.86% 0.0105 -0.1183)
OKLCHoklch(40.86% 0.119 275.1)
XYZxyz(8.0915, 6.4560, 24.4818)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394189 #898139
analogous
#396989 #394189 #593989
triadic
#394189 #893941 #418939
tetradic
#394189 #893969 #898139 #398959
square
#394189 #893969 #898139 #398959
split-complementary
#394189 #895939 #698939
monochromatic
#151833 #272C5E #394189 #4B56B4 #767EC6

Accessibility & contrast

On white

9.16
#394189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#394189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394189
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394189#FFFFFF#000000##FFFFFF
##3941891.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#0B4587
Tritanopia (blue-blind)
#09515E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394189;
/* rgb */ color: rgb(57, 65, 137);
/* oklch */ color: oklch(40.9% 0.119 275.1);
Tailwind
colors: {
  custom: {
    50: '#7775ac',
    500: '#394189',
    950: '#000000',
  },
}
SCSS
$custom: #394189;
$custom-light: #7775ac;
$custom-dark: #000000;
JSON
{
  "hex": "#394189",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 234,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40864,
    "c": 0.11879,
    "h": 275.1
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#394189
secondary
#AFA96F
accent
#C557D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394189

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

Preview Lab → · Contrast checker → · Palette generator →

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