#3548BA#3548BA

#3548BA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.180 H 270.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3548BA
RGBrgb(53, 72, 186)
HSLhsl(231, 56%, 47%)
HSVhsv(231, 72%, 73%)
CMYKcmyk(71.5%, 61.3%, 0%, 27.1%)
CIE-LABlab(35.86, 31.72, -62.27)
CIE-LCHlch(35.86, 69.89, 296.99°)
OKLaboklab(45.95% 0.0011 -0.1798)
OKLCHoklch(45.95% 0.18 270.4)
XYZxyz(12.6455, 8.9355, 47.5031)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3548BA #BAA735
analogous
#358ABA #3548BA #6535BA
triadic
#3548BA #BA3548 #48BA35
tetradic
#3548BA #BA358A #BAA735 #35BA65
square
#3548BA #BA358A #BAA735 #35BA65
split-complementary
#3548BA #BA6535 #8ABA35
monochromatic
#1A235B #27368A #3548BA #5C6CD0 #8B97DE

Accessibility & contrast

On white

7.53
#3548BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3548BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3548BA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3548BA#FFFFFF#000000##FFFFFF
##3548BA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3548ba;
/* rgb */ color: rgb(53, 72, 186);
/* oklch */ color: oklch(45.9% 0.180 270.4);
Tailwind
colors: {
  custom: {
    50: '#7e7ad0',
    500: '#3548ba',
    950: '#000000',
  },
}
SCSS
$custom: #3548ba;
$custom-light: #7e7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3548ba",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 231.429,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.17976,
    "h": 270.4
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#3548BA
secondary
#C8BE82
accent
#CA49DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3548BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3548BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva