#5846CA#5846CA

#5846CA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.3% C 0.195 H 282.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5846CA
RGBrgb(88, 70, 202)
HSLhsl(248, 55%, 53%)
HSVhsv(248, 65%, 79%)
CMYKcmyk(56.4%, 65.3%, 0%, 20.8%)
CIE-LABlab(39.10, 43.50, -66.23)
CIE-LCHlch(39.10, 79.23, 303.30°)
OKLaboklab(49.35% 0.0431 -0.1904)
OKLCHoklch(49.35% 0.195 282.8)
XYZxyz(16.8720, 10.7182, 57.0454)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846CA #B8CA46
analogous
#4676CA #5846CA #9A46CA
triadic
#5846CA #CA5846 #46CA58
tetradic
#5846CA #CA4676 #B8CA46 #46CA9A
square
#5846CA #CA4676 #B8CA46 #46CA9A
split-complementary
#5846CA #CA9A46 #76CA46
monochromatic
#2D2174 #3F2FA4 #5846CA #8376D8 #AEA5E5

Accessibility & contrast

On white

6.68
#5846CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5846CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846CA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846CA#FFFFFF#000000##FFFFFF
##5846CA1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#1D6782
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5846ca;
/* rgb */ color: rgb(88, 70, 202);
/* oklch */ color: oklch(49.3% 0.195 282.8);
Tailwind
colors: {
  custom: {
    50: '#927bdb',
    500: '#5846ca',
    950: '#000000',
  },
}
SCSS
$custom: #5846ca;
$custom-light: #927bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5846ca",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 248.182,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.19526,
    "h": 282.8
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#5846CA
secondary
#CBD29A
accent
#DF49CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5846CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5846CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva