#5548EF#5548EF

#5548EF is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.7% C 0.239 H 277.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5548EF
RGBrgb(85, 72, 239)
HSLhsl(245, 84%, 61%)
HSVhsv(245, 70%, 94%)
CMYKcmyk(64.4%, 69.9%, 0%, 6.3%)
CIE-LABlab(42.45, 53.35, -81.90)
CIE-LCHlch(42.45, 97.74, 303.08°)
OKLaboklab(52.67% 0.0324 -0.2364)
OKLCHoklch(52.67% 0.239 277.8)
XYZxyz(21.6386, 12.7962, 82.9742)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5548EF #E2EF48
analogous
#488EEF #5548EF #A948EF
triadic
#5548EF #EF5548 #48EF55
tetradic
#5548EF #EF488E #E2EF48 #48EFA9
square
#5548EF #EF488E #E2EF48 #48EFA9
split-complementary
#5548EF #EFA948 #8EEF48
monochromatic
#1B0FAD #2414E6 #5548EF #8980F4 #BEB9F9

Accessibility & contrast

On white

5.90
#5548EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5548EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5548EF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5548EF#FFFFFF#000000##FFFFFF
##5548EF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF4
Deuteranopia (green-blind)
#005DEC
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5548ef;
/* rgb */ color: rgb(85, 72, 239);
/* oklch */ color: oklch(52.7% 0.239 277.8);
Tailwind
colors: {
  custom: {
    50: '#977df6',
    500: '#5548ef',
    950: '#000000',
  },
}
SCSS
$custom: #5548ef;
$custom-light: #977df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5548ef",
  "rgb": {
    "r": 85,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 244.671,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.23864,
    "h": 277.8
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#5548EF
secondary
#E4E9AA
accent
#E005CF
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5548EF

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

Preview Lab → · Contrast checker → · Palette generator →

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