#5545E2#5545E2

#5545E2 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.226 H 279.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5545E2
RGBrgb(85, 69, 226)
HSLhsl(246, 73%, 58%)
HSVhsv(246, 69%, 89%)
CMYKcmyk(62.4%, 69.5%, 0%, 11.4%)
CIE-LABlab(40.70, 51.00, -77.42)
CIE-LCHlch(40.70, 92.70, 303.38°)
OKLaboklab(51.06% 0.0366 -0.2233)
OKLCHoklch(51.06% 0.226 279.3)
XYZxyz(19.5975, 11.6770, 73.1579)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545E2 #D2E245
analogous
#4583E2 #5545E2 #A445E2
triadic
#5545E2 #E25545 #45E255
tetradic
#5545E2 #E24583 #D2E245 #45E2A4
square
#5545E2 #E24583 #D2E245 #45E2A4
split-complementary
#5545E2 #E2A445 #83E245
monochromatic
#241795 #3120CA #5545E2 #857AEA #B6AFF3

Accessibility & contrast

On white

6.30
#5545E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5545E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5545E2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5545E2#FFFFFF#000000##FFFFFF
##5545E21.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#005ADF
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5545e2;
/* rgb */ color: rgb(85, 69, 226);
/* oklch */ color: oklch(51.1% 0.226 279.3);
Tailwind
colors: {
  custom: {
    50: '#957bec',
    500: '#5545e2',
    950: '#000000',
  },
}
SCSS
$custom: #5545e2;
$custom-light: #957bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5545e2",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 246.115,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.2263,
    "h": 279.3
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#5545E2
secondary
#DAE1A2
accent
#F038DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5545E2

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

Preview Lab → · Contrast checker → · Palette generator →

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