#5545E3#5545E3

#5545E3 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.2% C 0.228 H 279.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5545E3
RGBrgb(85, 69, 227)
HSLhsl(246, 74%, 58%)
HSVhsv(246, 70%, 89%)
CMYKcmyk(62.6%, 69.6%, 0%, 11%)
CIE-LABlab(40.79, 51.30, -77.84)
CIE-LCHlch(40.79, 93.23, 303.39°)
OKLaboklab(51.15% 0.0364 -0.2246)
OKLCHoklch(51.15% 0.228 279.2)
XYZxyz(19.7351, 11.7320, 73.8827)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545E3 #D3E345
analogous
#4584E3 #5545E3 #A445E3
triadic
#5545E3 #E35545 #45E355
tetradic
#5545E3 #E34584 #D3E345 #45E3A4
square
#5545E3 #E34584 #D3E345 #45E3A4
split-complementary
#5545E3 #E3A445 #84E345
monochromatic
#241797 #301FCC #5545E3 #867AEB #B6AFF3

Accessibility & contrast

On white

6.27
#5545E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5545E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5545E3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5545E3#FFFFFF#000000##FFFFFF
##5545E31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5545e3;
/* rgb */ color: rgb(85, 69, 227);
/* oklch */ color: oklch(51.2% 0.228 279.2);
Tailwind
colors: {
  custom: {
    50: '#957bed',
    500: '#5545e3',
    950: '#000000',
  },
}
SCSS
$custom: #5545e3;
$custom-light: #957bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5545e3",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 227
  },
  "hsl": {
    "h": 246.076,
    "s": 73.832,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.2275,
    "h": 279.2
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#5545E3
secondary
#DBE1A2
accent
#F037DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5545E3

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

Preview Lab → · Contrast checker → · Palette generator →

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