#3A549B#3A549B

#3A549B is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.3% C 0.119 H 266.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#3A549B
RGBrgb(58, 84, 155)
HSLhsl(224, 46%, 42%)
HSVhsv(224, 63%, 61%)
CMYKcmyk(62.6%, 45.8%, 0%, 39.2%)
CIE-LABlab(37.13, 13.41, -41.77)
CIE-LCHlch(37.13, 43.87, 287.80°)
OKLaboklab(46.27% -0.007 -0.1192)
OKLCHoklch(46.27% 0.119 266.6)
XYZxyz(10.8296, 9.6058, 32.2874)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A549B #9B813A
analogous
#3A859B #3A549B #513A9B
triadic
#3A549B #9B3A54 #549B3A
tetradic
#3A549B #9B3A85 #9B813A #3A9B51
square
#3A549B #9B3A85 #9B813A #3A9B51
split-complementary
#3A549B #9B513A #859B3A
monochromatic
#192442 #293C6E #3A549B #5370BF #8095CF

Accessibility & contrast

On white

7.19
#3A549B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3A549B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A549B
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A549B#FFFFFF#000000##FFFFFF
##3A549B1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9E
Deuteranopia (green-blind)
#23539A
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a549b;
/* rgb */ color: rgb(58, 84, 155);
/* oklch */ color: oklch(46.3% 0.119 266.6);
Tailwind
colors: {
  custom: {
    50: '#7983b9',
    500: '#3a549b',
    950: '#000000',
  },
}
SCSS
$custom: #3a549b;
$custom-light: #7983b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a549b",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 223.918,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46269,
    "c": 0.11942,
    "h": 266.6
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#3A549B
secondary
#B9A878
accent
#B253D5
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3A549B

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

Preview Lab → · Contrast checker → · Palette generator →

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