#5547EF#5547EF

#5547EF is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.5% C 0.240 H 277.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5547EF
RGBrgb(85, 71, 239)
HSLhsl(245, 84%, 61%)
HSVhsv(245, 70%, 94%)
CMYKcmyk(64.4%, 70.3%, 0%, 6.3%)
CIE-LABlab(42.26, 53.89, -82.22)
CIE-LCHlch(42.26, 98.30, 303.24°)
OKLaboklab(52.53% 0.0331 -0.2374)
OKLCHoklch(52.53% 0.24 277.9)
XYZxyz(21.5745, 12.6680, 82.9528)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5547EF #E1EF47
analogous
#478DEF #5547EF #A947EF
triadic
#5547EF #EF5547 #47EF55
tetradic
#5547EF #EF478D #E1EF47 #47EFA9
square
#5547EF #EF478D #E1EF47 #47EFA9
split-complementary
#5547EF #EFA947 #8DEF47
monochromatic
#1C0FAD #2514E5 #5547EF #897FF4 #BDB8F9

Accessibility & contrast

On white

5.94
#5547EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5547EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5547EF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5547EF#FFFFFF#000000##FFFFFF
##5547EF1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5547ef;
/* rgb */ color: rgb(85, 71, 239);
/* oklch */ color: oklch(52.5% 0.240 277.9);
Tailwind
colors: {
  custom: {
    50: '#977cf6',
    500: '#5547ef',
    950: '#000000',
  },
}
SCSS
$custom: #5547ef;
$custom-light: #977cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5547ef",
  "rgb": {
    "r": 85,
    "g": 71,
    "b": 239
  },
  "hsl": {
    "h": 245,
    "s": 84,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.23965,
    "h": 277.9
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#5547EF
secondary
#E3E9A9
accent
#E005CE
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5547EF

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

Preview Lab → · Contrast checker → · Palette generator →

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