#3548B5#3548B5

#3548B5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.173 H 270.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#3548B5
RGBrgb(53, 72, 181)
HSLhsl(231, 55%, 46%)
HSVhsv(231, 71%, 71%)
CMYKcmyk(70.7%, 60.2%, 0%, 29%)
CIE-LABlab(35.45, 29.91, -59.99)
CIE-LCHlch(35.45, 67.03, 296.50°)
OKLaboklab(45.52% 0.0012 -0.1731)
OKLCHoklch(45.52% 0.173 270.4)
XYZxyz(12.1232, 8.7266, 44.7526)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3548B5 #B5A235
analogous
#3588B5 #3548B5 #6235B5
triadic
#3548B5 #B53548 #48B535
tetradic
#3548B5 #B53588 #B5A235 #35B562
square
#3548B5 #B53588 #B5A235 #35B562
split-complementary
#3548B5 #B56235 #88B535
monochromatic
#192256 #273586 #3548B5 #596ACE #8895DC

Accessibility & contrast

On white

7.65
#3548B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3548B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3548B5
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3548B5#FFFFFF#000000##FFFFFF
##3548B51.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3548b5;
/* rgb */ color: rgb(53, 72, 181);
/* oklch */ color: oklch(45.5% 0.173 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d7acc',
    500: '#3548b5',
    950: '#000000',
  },
}
SCSS
$custom: #3548b5;
$custom-light: #7d7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3548b5",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 231.094,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45521,
    "c": 0.17306,
    "h": 270.4
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#3548B5
secondary
#C6BC80
accent
#C84ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3548B5

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

Preview Lab → · Contrast checker → · Palette generator →

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