#5545F1#5545F1

#5545F1 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.4% C 0.244 H 278.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5545F1
RGBrgb(85, 69, 241)
HSLhsl(246, 86%, 61%)
HSVhsv(246, 71%, 95%)
CMYKcmyk(64.7%, 71.4%, 0%, 5.5%)
CIE-LABlab(42.06, 55.57, -83.68)
CIE-LCHlch(42.06, 100.45, 303.59°)
OKLaboklab(52.44% 0.034 -0.2416)
OKLCHoklch(52.44% 0.244 278)
XYZxyz(21.7465, 12.5366, 84.4758)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545F1 #E1F145
analogous
#458BF1 #5545F1 #AB45F1
triadic
#5545F1 #F15545 #45F155
tetradic
#5545F1 #F1458B #E1F145 #45F1AB
square
#5545F1 #F1458B #E1F145 #45F1AB
split-complementary
#5545F1 #F1AB45 #8BF145
monochromatic
#1C0DAE #2511E7 #5545F1 #897EF5 #BDB7FA

Accessibility & contrast

On white

5.99
#5545F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5545F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5545F1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5545F1#FFFFFF#000000##FFFFFF
##5545F11.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF6
Deuteranopia (green-blind)
#005CEE
Tritanopia (blue-blind)
#007597
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5545f1;
/* rgb */ color: rgb(85, 69, 241);
/* oklch */ color: oklch(52.4% 0.244 278.0);
Tailwind
colors: {
  custom: {
    50: '#977bf7',
    500: '#5545f1',
    950: '#000000',
  },
}
SCSS
$custom: #5545f1;
$custom-light: #977bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5545f1",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 241
  },
  "hsl": {
    "h": 245.581,
    "s": 86,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.244,
    "h": 278
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#5545F1
secondary
#E3E9A8
accent
#E303CE
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5545F1

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

Preview Lab → · Contrast checker → · Palette generator →

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