#5545EC#5545EC

#5545EC is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 52.0% C 0.238 H 278.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5545EC
RGBrgb(85, 69, 236)
HSLhsl(246, 81%, 60%)
HSVhsv(246, 71%, 93%)
CMYKcmyk(64%, 70.8%, 0%, 7.5%)
CIE-LABlab(41.60, 54.05, -81.61)
CIE-LCHlch(41.60, 97.89, 303.52°)
OKLaboklab(51.98% 0.0349 -0.2356)
OKLCHoklch(51.98% 0.238 278.4)
XYZxyz(21.0099, 12.2419, 80.5964)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545EC #DCEC45
analogous
#4588EC #5545EC #A945EC
triadic
#5545EC #EC5545 #45EC55
tetradic
#5545EC #EC4588 #DCEC45 #45ECA9
square
#5545EC #EC4588 #DCEC45 #45ECA9
split-complementary
#5545EC #ECA945 #88EC45
monochromatic
#1F11A6 #2A17DD #5545EC #887DF2 #BBB4F7

Accessibility & contrast

On white

6.09
#5545EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5545EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5545EC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5545EC#FFFFFF#000000##FFFFFF
##5545EC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F1
Deuteranopia (green-blind)
#005BE9
Tritanopia (blue-blind)
#007394
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5545ec;
/* rgb */ color: rgb(85, 69, 236);
/* oklch */ color: oklch(52.0% 0.238 278.4);
Tailwind
colors: {
  custom: {
    50: '#967bf3',
    500: '#5545ec',
    950: '#000000',
  },
}
SCSS
$custom: #5545ec;
$custom-light: #967bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5545ec",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 236
  },
  "hsl": {
    "h": 245.749,
    "s": 81.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.23815,
    "h": 278.4
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#5545EC
secondary
#E0E7A6
accent
#F830E5
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5545EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5545EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva