#5948D2#5948D2

#5948D2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.203 H 281.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5948D2
RGBrgb(89, 72, 210)
HSLhsl(247, 61%, 55%)
HSVhsv(247, 66%, 82%)
CMYKcmyk(57.6%, 65.7%, 0%, 17.6%)
CIE-LABlab(40.26, 44.97, -68.95)
CIE-LCHlch(40.26, 82.32, 303.11°)
OKLaboklab(50.41% 0.0417 -0.1984)
OKLCHoklch(50.41% 0.203 281.9)
XYZxyz(18.0664, 11.4105, 62.2107)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5948D2 #C1D248
analogous
#487CD2 #5948D2 #9E48D2
triadic
#5948D2 #D25948 #48D259
tetradic
#5948D2 #D2487C #C1D248 #48D29E
square
#5948D2 #D2487C #C1D248 #48D29E
split-complementary
#5948D2 #D29E48 #7CD248
monochromatic
#2B2080 #3C2CB1 #5948D2 #8679DE #B2AAEA

Accessibility & contrast

On white

6.40
#5948D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5948D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5948D2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5948D2#FFFFFF#000000##FFFFFF
##5948D21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#106B87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5948d2;
/* rgb */ color: rgb(89, 72, 210);
/* oklch */ color: oklch(50.4% 0.203 281.9);
Tailwind
colors: {
  custom: {
    50: '#947ce1',
    500: '#5948d2',
    950: '#000000',
  },
}
SCSS
$custom: #5948d2;
$custom-light: #947ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#5948d2",
  "rgb": {
    "r": 89,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 247.391,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50409,
    "c": 0.20274,
    "h": 281.9
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

primary
#5948D2
secondary
#D1D89E
accent
#E444D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5948D2

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

Preview Lab → · Contrast checker → · Palette generator →

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