#5854CA#5854CA

#5854CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.178 H 279.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5854CA
RGBrgb(88, 84, 202)
HSLhsl(242, 53%, 56%)
HSVhsv(242, 58%, 79%)
CMYKcmyk(56.4%, 58.4%, 0%, 20.8%)
CIE-LABlab(42.27, 35.16, -61.07)
CIE-LCHlch(42.27, 70.46, 299.93°)
OKLaboklab(51.67% 0.0299 -0.1752)
OKLCHoklch(51.67% 0.178 279.7)
XYZxyz(17.8521, 12.6784, 57.3721)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854CA #C6CA54
analogous
#548BCA #5854CA #9354CA
triadic
#5854CA #CA5854 #54CA58
tetradic
#5854CA #CA548B #C6CA54 #54CA93
square
#5854CA #CA548B #C6CA54 #54CA93
split-complementary
#5854CA #CA9354 #8BCA54
monochromatic
#2A277D #3935AC #5854CA #8683D8 #B3B1E7

Accessibility & contrast

On white

5.94
#5854CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5854CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854CA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854CA#FFFFFF#000000##FFFFFF
##5854CA1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#1A7087
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5854ca;
/* rgb */ color: rgb(88, 84, 202);
/* oklch */ color: oklch(51.7% 0.178 279.7);
Tailwind
colors: {
  custom: {
    50: '#9184db',
    500: '#5854ca',
    950: '#000000',
  },
}
SCSS
$custom: #5854ca;
$custom-light: #9184db;
$custom-dark: #000000;
JSON
{
  "hex": "#5854ca",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 242.034,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51667,
    "c": 0.17774,
    "h": 279.7
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#5854CA
secondary
#D4D5A5
accent
#DC4CD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5854CA

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

Preview Lab → · Contrast checker → · Palette generator →

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