#5854CF#5854CF

#5854CF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.184 H 279.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5854CF
RGBrgb(88, 84, 207)
HSLhsl(242, 56%, 57%)
HSVhsv(242, 59%, 81%)
CMYKcmyk(57.5%, 59.4%, 0%, 18.8%)
CIE-LABlab(42.64, 36.76, -63.35)
CIE-LCHlch(42.64, 73.25, 300.12°)
OKLaboklab(52.05% 0.0298 -0.1819)
OKLCHoklch(52.05% 0.184 279.3)
XYZxyz(18.4537, 12.9191, 60.5406)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854CF #CBCF54
analogous
#548ECF #5854CF #9554CF
triadic
#5854CF #CF5854 #54CF58
tetradic
#5854CF #CF548E #CBCF54 #54CF95
square
#5854CF #CF548E #CBCF54 #54CF95
split-complementary
#5854CF #CF9554 #8ECF54
monochromatic
#282584 #3732B3 #5854CF #8784DC #B5B4EA

Accessibility & contrast

On white

5.86
#5854CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5854CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854CF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854CF#FFFFFF#000000##FFFFFF
##5854CF1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#0D7289
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5854cf;
/* rgb */ color: rgb(88, 84, 207);
/* oklch */ color: oklch(52.1% 0.184 279.3);
Tailwind
colors: {
  custom: {
    50: '#9284df',
    500: '#5854cf',
    950: '#000000',
  },
}
SCSS
$custom: #5854cf;
$custom-light: #9284df;
$custom-dark: #000000;
JSON
{
  "hex": "#5854cf",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 241.951,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52053,
    "c": 0.18436,
    "h": 279.3
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#5854CF
secondary
#D7D8A6
accent
#DF48DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5854CF

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

Preview Lab → · Contrast checker → · Palette generator →

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