#3547B4#3547B4

#3547B4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.173 H 270.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3547B4
RGBrgb(53, 71, 180)
HSLhsl(231, 55%, 46%)
HSVhsv(231, 71%, 71%)
CMYKcmyk(70.6%, 60.6%, 0%, 29.4%)
CIE-LABlab(35.12, 30.20, -59.94)
CIE-LCHlch(35.12, 67.12, 296.74°)
OKLaboklab(45.25% 0.0019 -0.1729)
OKLCHoklch(45.25% 0.173 270.6)
XYZxyz(11.9569, 8.5575, 44.1928)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3547B4 #B4A235
analogous
#3586B4 #3547B4 #6235B4
triadic
#3547B4 #B43547 #47B435
tetradic
#3547B4 #B43586 #B4A235 #35B462
square
#3547B4 #B43586 #B4A235 #35B462
split-complementary
#3547B4 #B46235 #86B435
monochromatic
#192255 #273485 #3547B4 #5869CE #8894DC

Accessibility & contrast

On white

7.74
#3547B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3547B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3547B4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3547B4#FFFFFF#000000##FFFFFF
##3547B41.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3547b4;
/* rgb */ color: rgb(53, 71, 180);
/* oklch */ color: oklch(45.2% 0.173 270.6);
Tailwind
colors: {
  custom: {
    50: '#7d7acb',
    500: '#3547b4',
    950: '#000000',
  },
}
SCSS
$custom: #3547b4;
$custom-light: #7d7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3547b4",
  "rgb": {
    "r": 53,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 231.496,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45247,
    "c": 0.17294,
    "h": 270.6
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#3547B4
secondary
#C6BC7F
accent
#C94ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3547B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3547B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva