#5B44F2#5B44F2

#5B44F2 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.8% C 0.245 H 279.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5B44F2
RGBrgb(91, 68, 242)
HSLhsl(248, 87%, 61%)
HSVhsv(248, 72%, 95%)
CMYKcmyk(62.4%, 71.9%, 0%, 5.1%)
CIE-LABlab(42.41, 57.09, -83.64)
CIE-LCHlch(42.41, 101.27, 304.32°)
OKLaboklab(52.84% 0.0421 -0.2413)
OKLCHoklch(52.84% 0.245 279.9)
XYZxyz(22.4034, 12.7675, 85.2710)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44F2 #DBF244
analogous
#4484F2 #5B44F2 #B244F2
triadic
#5B44F2 #F25B44 #44F25B
tetradic
#5B44F2 #F24484 #DBF244 #44F2B2
square
#5B44F2 #F24484 #DBF244 #44F2B2
split-complementary
#5B44F2 #F2B244 #84F244
monochromatic
#220CAF #2D10E9 #5B44F2 #8D7DF6 #BFB6FA

Accessibility & contrast

On white

5.91
#5B44F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5B44F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B44F2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44F2#FFFFFF#000000##FFFFFF
##5B44F21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF7
Deuteranopia (green-blind)
#005DEF
Tritanopia (blue-blind)
#007597
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b44f2;
/* rgb */ color: rgb(91, 68, 242);
/* oklch */ color: oklch(52.8% 0.245 279.9);
Tailwind
colors: {
  custom: {
    50: '#9a7bf8',
    500: '#5b44f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b44f2;
$custom-light: #9a7bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44f2",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 242
  },
  "hsl": {
    "h": 247.931,
    "s": 87,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.245,
    "h": 279.9
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#5B44F2
secondary
#E1EAA8
accent
#E402C6
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5B44F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5B44F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva