#5545E4#5545E4

#5545E4 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.229 H 279.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5545E4
RGBrgb(85, 69, 228)
HSLhsl(246, 75%, 58%)
HSVhsv(246, 70%, 89%)
CMYKcmyk(62.7%, 69.7%, 0%, 10.6%)
CIE-LABlab(40.88, 51.61, -78.26)
CIE-LCHlch(40.88, 93.75, 303.40°)
OKLaboklab(51.24% 0.0363 -0.2258)
OKLCHoklch(51.24% 0.229 279.1)
XYZxyz(19.8735, 11.7874, 74.6117)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545E4 #D4E445
analogous
#4584E4 #5545E4 #A545E4
triadic
#5545E4 #E45545 #45E455
tetradic
#5545E4 #E44584 #D4E445 #45E4A5
square
#5545E4 #E44584 #D4E445 #45E4A5
split-complementary
#5545E4 #E4A545 #84E445
monochromatic
#231698 #301ECE #5545E4 #867AEC #B7B0F4

Accessibility & contrast

On white

6.25
#5545E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5545E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5545E4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5545E4#FFFFFF#000000##FFFFFF
##5545E41.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E9
Deuteranopia (green-blind)
#005AE1
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5545e4;
/* rgb */ color: rgb(85, 69, 228);
/* oklch */ color: oklch(51.2% 0.229 279.1);
Tailwind
colors: {
  custom: {
    50: '#957bee',
    500: '#5545e4',
    950: '#000000',
  },
}
SCSS
$custom: #5545e4;
$custom-light: #957bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5545e4",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 246.038,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.22868,
    "h": 279.1
  },
  "luminance": 0.11789
}

Semantic roles & 50–950 ramp

primary
#5545E4
secondary
#DCE2A3
accent
#F137DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5545E4

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

Preview Lab → · Contrast checker → · Palette generator →

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