#5948E2#5948E2

#5948E2 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.8% C 0.222 H 280.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5948E2
RGBrgb(89, 72, 226)
HSLhsl(247, 73%, 58%)
HSVhsv(247, 68%, 89%)
CMYKcmyk(60.6%, 68.1%, 0%, 11.4%)
CIE-LABlab(41.61, 49.88, -75.91)
CIE-LCHlch(41.61, 90.83, 303.31°)
OKLaboklab(51.79% 0.0396 -0.2188)
OKLCHoklch(51.79% 0.222 280.3)
XYZxyz(20.1603, 12.2481, 73.2385)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5948E2 #D1E248
analogous
#4884E2 #5948E2 #A648E2
triadic
#5948E2 #E25948 #48E259
tetradic
#5948E2 #E24884 #D1E248 #48E2A6
square
#5948E2 #E24884 #D1E248 #48E2A6
split-complementary
#5948E2 #E2A648 #84E248
monochromatic
#261898 #3320CC #5948E2 #897DEA #B9B2F3

Accessibility & contrast

On white

6.09
#5948E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5948E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5948E2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5948E2#FFFFFF#000000##FFFFFF
##5948E21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5948e2;
/* rgb */ color: rgb(89, 72, 226);
/* oklch */ color: oklch(51.8% 0.222 280.3);
Tailwind
colors: {
  custom: {
    50: '#967dec',
    500: '#5948e2',
    950: '#000000',
  },
}
SCSS
$custom: #5948e2;
$custom-light: #967dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5948e2",
  "rgb": {
    "r": 89,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 246.623,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51792,
    "c": 0.22236,
    "h": 280.3
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#5948E2
secondary
#DBE1A4
accent
#EF38DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5948E2

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

Preview Lab → · Contrast checker → · Palette generator →

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