#3548B1#3548B1

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

Color values

HEX#3548B1
RGBrgb(53, 72, 177)
HSLhsl(231, 54%, 45%)
HSVhsv(231, 70%, 69%)
CMYKcmyk(70.1%, 59.3%, 0%, 30.6%)
CIE-LABlab(35.13, 28.46, -58.14)
CIE-LCHlch(35.13, 64.73, 296.08°)
OKLaboklab(45.18% 0.0012 -0.1676)
OKLCHoklch(45.18% 0.168 270.4)
XYZxyz(11.7187, 8.5648, 42.6220)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3548B1 #B19E35
analogous
#3586B1 #3548B1 #6035B1
triadic
#3548B1 #B13548 #48B135
tetradic
#3548B1 #B13586 #B19E35 #35B160
square
#3548B1 #B13586 #B19E35 #35B160
split-complementary
#3548B1 #B16035 #86B135
monochromatic
#192253 #273582 #3548B1 #5769CD #8693DB

Accessibility & contrast

On white

7.74
#3548B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3548B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3548B1
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3548B1#FFFFFF#000000##FFFFFF
##3548B11.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)
#0058B5
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3548b1;
/* rgb */ color: rgb(53, 72, 177);
/* oklch */ color: oklch(45.2% 0.168 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c7ac9',
    500: '#3548b1',
    950: '#000000',
  },
}
SCSS
$custom: #3548b1;
$custom-light: #7c7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3548b1",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 230.806,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.16763,
    "h": 270.4
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#3548B1
secondary
#C4BA7D
accent
#C74BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3548B1

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

Preview Lab → · Contrast checker → · Palette generator →

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