#3548B2#3548B2

#3548B2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.169 H 270.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3548B2
RGBrgb(53, 72, 178)
HSLhsl(231, 54%, 45%)
HSVhsv(231, 70%, 70%)
CMYKcmyk(70.2%, 59.6%, 0%, 30.2%)
CIE-LABlab(35.21, 28.82, -58.61)
CIE-LCHlch(35.21, 65.31, 296.19°)
OKLaboklab(45.27% 0.0012 -0.169)
OKLCHoklch(45.27% 0.169 270.4)
XYZxyz(11.8187, 8.6048, 43.1489)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3548B2 #B29F35
analogous
#3586B2 #3548B2 #6035B2
triadic
#3548B2 #B23548 #48B235
tetradic
#3548B2 #B23586 #B29F35 #35B260
square
#3548B2 #B23586 #B29F35 #35B260
split-complementary
#3548B2 #B26035 #86B235
monochromatic
#192254 #273583 #3548B2 #5769CD #8693DB

Accessibility & contrast

On white

7.72
#3548B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3548B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3548B2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3548B2#FFFFFF#000000##FFFFFF
##3548B21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3548b2;
/* rgb */ color: rgb(53, 72, 178);
/* oklch */ color: oklch(45.3% 0.169 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c7aca',
    500: '#3548b2',
    950: '#000000',
  },
}
SCSS
$custom: #3548b2;
$custom-light: #7c7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3548b2",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 230.88,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.169,
    "h": 270.4
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#3548B2
secondary
#C5BA7E
accent
#C74ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3548B2

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

Preview Lab → · Contrast checker → · Palette generator →

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