#5948C7#5948C7

#5948C7 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.5% C 0.189 H 283.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5948C7
RGBrgb(89, 72, 199)
HSLhsl(248, 53%, 53%)
HSVhsv(248, 64%, 78%)
CMYKcmyk(55.3%, 63.8%, 0%, 22%)
CIE-LABlab(39.38, 41.58, -64.03)
CIE-LCHlch(39.38, 76.35, 303.00°)
OKLaboklab(49.49% 0.0429 -0.1839)
OKLCHoklch(49.49% 0.189 283.1)
XYZxyz(16.7428, 10.8811, 55.2398)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5948C7 #B6C748
analogous
#4877C7 #5948C7 #9848C7
triadic
#5948C7 #C75948 #48C759
tetradic
#5948C7 #C74877 #B6C748 #48C798
square
#5948C7 #C74877 #B6C748 #48C798
split-complementary
#5948C7 #C79848 #77C748
monochromatic
#2D2372 #4031A1 #5948C7 #8477D5 #AEA6E4

Accessibility & contrast

On white

6.61
#5948C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5948C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5948C7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5948C7#FFFFFF#000000##FFFFFF
##5948C71.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#256781
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5948c7;
/* rgb */ color: rgb(89, 72, 199);
/* oklch */ color: oklch(49.5% 0.189 283.1);
Tailwind
colors: {
  custom: {
    50: '#927cd9',
    500: '#5948c7',
    950: '#000000',
  },
}
SCSS
$custom: #5948c7;
$custom-light: #927cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5948c7",
  "rgb": {
    "r": 89,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 248.031,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.18889,
    "h": 283.1
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#5948C7
secondary
#C9D19A
accent
#DD4BC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5948C7

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

Preview Lab → · Contrast checker → · Palette generator →

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