#5A44F2#5A44F2

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

Color values

HEX#5A44F2
RGBrgb(90, 68, 242)
HSLhsl(248, 87%, 61%)
HSVhsv(248, 72%, 95%)
CMYKcmyk(62.8%, 71.9%, 0%, 5.1%)
CIE-LABlab(42.33, 56.97, -83.77)
CIE-LCHlch(42.33, 101.31, 304.22°)
OKLaboklab(52.76% 0.0408 -0.2418)
OKLCHoklch(52.76% 0.245 279.6)
XYZxyz(22.3055, 12.7170, 85.2664)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A44F2 #DCF244
analogous
#4485F2 #5A44F2 #B144F2
triadic
#5A44F2 #F25A44 #44F25A
tetradic
#5A44F2 #F24485 #DCF244 #44F2B1
square
#5A44F2 #F24485 #DCF244 #44F2B1
split-complementary
#5A44F2 #F2B144 #85F244
monochromatic
#210CAF #2C10E9 #5A44F2 #8C7DF6 #BFB6FA

Accessibility & contrast

On white

5.93
#5A44F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5A44F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A44F2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A44F2#FFFFFF#000000##FFFFFF
##5A44F21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.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: #5a44f2;
/* rgb */ color: rgb(90, 68, 242);
/* oklch */ color: oklch(52.8% 0.245 279.6);
Tailwind
colors: {
  custom: {
    50: '#9a7bf8',
    500: '#5a44f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a44f2;
$custom-light: #9a7bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a44f2",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 242
  },
  "hsl": {
    "h": 247.586,
    "s": 87,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.24518,
    "h": 279.6
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#5A44F2
secondary
#E2EAA8
accent
#E402C7
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5A44F2

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

Preview Lab → · Contrast checker → · Palette generator →

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