#3B548A#3B548A

#3B548A is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.094 H 264.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3B548A
RGBrgb(59, 84, 138)
HSLhsl(221, 40%, 39%)
HSVhsv(221, 57%, 54%)
CMYKcmyk(57.2%, 39.1%, 0%, 45.9%)
CIE-LABlab(36.19, 7.59, -32.97)
CIE-LCHlch(36.19, 33.83, 282.97°)
OKLaboklab(45.24% -0.0095 -0.0934)
OKLCHoklch(45.24% 0.094 264.2)
XYZxyz(9.5598, 9.1047, 25.2934)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B548A #8A713B
analogous
#3B7B8A #3B548A #493B8A
triadic
#3B548A #8A3B54 #548A3B
tetradic
#3B548A #8A3B7B #8A713B #3B8A49
square
#3B548A #8A3B7B #8A713B #3B8A49
split-complementary
#3B548A #8A493B #7B8A3B
monochromatic
#162034 #293A5F #3B548A #4F6FB4 #7992C6

Accessibility & contrast

On white

7.44
#3B548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3B548A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B548A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B548A#FFFFFF#000000##FFFFFF
##3B548A1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#345289
Tritanopia (blue-blind)
#096068
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3b548a;
/* rgb */ color: rgb(59, 84, 138);
/* oklch */ color: oklch(45.2% 0.094 264.2);
Tailwind
colors: {
  custom: {
    50: '#7783ac',
    500: '#3b548a',
    950: '#000000',
  },
}
SCSS
$custom: #3b548a;
$custom-light: #7783ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3b548a",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 221.013,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.09387,
    "h": 264.2
  },
  "luminance": 0.09105
}

Semantic roles & 50–950 ramp

primary
#3B548A
secondary
#AF9C71
accent
#AA58D0
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3B548A

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

Preview Lab → · Contrast checker → · Palette generator →

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