#3A4591#3A4591

#3A4591 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.125 H 273.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3A4591
RGBrgb(58, 69, 145)
HSLhsl(232, 43%, 40%)
HSVhsv(232, 60%, 57%)
CMYKcmyk(60%, 52.4%, 0%, 43.1%)
CIE-LABlab(32.26, 19.74, -43.52)
CIE-LCHlch(32.26, 47.79, 294.40°)
OKLaboklab(42.36% 0.008 -0.1245)
OKLCHoklch(42.36% 0.125 273.7)
XYZxyz(8.9822, 7.1994, 27.6989)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4591 #91863A
analogous
#3A7091 #3A4591 #5B3A91
triadic
#3A4591 #913A45 #45913A
tetradic
#3A4591 #913A70 #91863A #3A915B
square
#3A4591 #913A70 #91863A #3A915B
split-complementary
#3A4591 #915B3A #70913A
monochromatic
#171B3A #293065 #3A4591 #4F5DB9 #7B85CA

Accessibility & contrast

On white

8.61
#3A4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3A4591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4591
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4591#FFFFFF#000000##FFFFFF
##3A45911.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#07488F
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a4591;
/* rgb */ color: rgb(58, 69, 145);
/* oklch */ color: oklch(42.4% 0.125 273.7);
Tailwind
colors: {
  custom: {
    50: '#7878b2',
    500: '#3a4591',
    950: '#000000',
  },
}
SCSS
$custom: #3a4591;
$custom-light: #7878b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4591",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 232.414,
    "s": 42.857,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42357,
    "c": 0.1248,
    "h": 273.7
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#3A4591
secondary
#B4AC73
accent
#C355D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3A4591

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

Preview Lab → · Contrast checker → · Palette generator →

#3A4591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva