#3A549A#3A549A

#3A549A is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.2% C 0.118 H 266.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3A549A
RGBrgb(58, 84, 154)
HSLhsl(224, 45%, 42%)
HSVhsv(224, 62%, 60%)
CMYKcmyk(62.3%, 45.5%, 0%, 39.6%)
CIE-LABlab(37.06, 13.05, -41.27)
CIE-LCHlch(37.06, 43.28, 287.55°)
OKLaboklab(46.2% -0.0072 -0.1177)
OKLCHoklch(46.2% 0.118 266.5)
XYZxyz(10.7460, 9.5724, 31.8469)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A549A #9A803A
analogous
#3A849A #3A549A #503A9A
triadic
#3A549A #9A3A54 #549A3A
tetradic
#3A549A #9A3A84 #9A803A #3A9A50
square
#3A549A #9A3A84 #9A803A #3A9A50
split-complementary
#3A549A #9A503A #849A3A
monochromatic
#192441 #293C6E #3A549A #5370BE #7F95CF

Accessibility & contrast

On white

7.21
#3A549A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3A549A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A549A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A549A#FFFFFF#000000##FFFFFF
##3A549A1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#255399
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a549a;
/* rgb */ color: rgb(58, 84, 154);
/* oklch */ color: oklch(46.2% 0.118 266.5);
Tailwind
colors: {
  custom: {
    50: '#7983b8',
    500: '#3a549a',
    950: '#000000',
  },
}
SCSS
$custom: #3a549a;
$custom-light: #7983b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a549a",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 223.75,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46202,
    "c": 0.11796,
    "h": 266.5
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A549A

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

Preview Lab → · Contrast checker → · Palette generator →

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