#5548BF#5548BF

#5548BF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.179 H 282.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5548BF
RGBrgb(85, 72, 191)
HSLhsl(247, 48%, 52%)
HSVhsv(247, 62%, 75%)
CMYKcmyk(55.5%, 62.3%, 0%, 25.1%)
CIE-LABlab(38.42, 38.38, -60.94)
CIE-LCHlch(38.42, 72.02, 302.21°)
OKLaboklab(48.52% 0.0384 -0.175)
OKLCHoklch(48.52% 0.179 282.4)
XYZxyz(15.4647, 10.3267, 50.4585)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5548BF #B2BF48
analogous
#4877BF #5548BF #9148BF
triadic
#5548BF #BF5548 #48BF55
tetradic
#5548BF #BF4877 #B2BF48 #48BF91
square
#5548BF #BF4877 #B2BF48 #48BF91
split-complementary
#5548BF #BF9148 #77BF48
monochromatic
#2C2468 #3F3496 #5548BF #7F75CF #A9A3DF

Accessibility & contrast

On white

6.85
#5548BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5548BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5548BF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5548BF#FFFFFF#000000##FFFFFF
##5548BF1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#22657D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5548bf;
/* rgb */ color: rgb(85, 72, 191);
/* oklch */ color: oklch(48.5% 0.179 282.4);
Tailwind
colors: {
  custom: {
    50: '#8e7cd3',
    500: '#5548bf',
    950: '#000000',
  },
}
SCSS
$custom: #5548bf;
$custom-light: #8e7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5548bf",
  "rgb": {
    "r": 85,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 246.555,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.17913,
    "h": 282.4
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#5548BF
secondary
#C6CC97
accent
#D850C9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5548BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5548BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva