#5852DE#5852DE

#5852DE is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.206 H 278.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5852DE
RGBrgb(88, 82, 222)
HSLhsl(243, 68%, 60%)
HSVhsv(243, 63%, 87%)
CMYKcmyk(60.4%, 63.1%, 0%, 12.9%)
CIE-LABlab(43.33, 42.75, -70.82)
CIE-LCHlch(43.33, 82.72, 301.12°)
OKLaboklab(52.92% 0.0308 -0.2039)
OKLCHoklch(52.92% 0.206 278.6)
XYZxyz(20.2224, 13.3817, 70.6104)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852DE #D8DE52
analogous
#5292DE #5852DE #9E52DE
triadic
#5852DE #DE5852 #52DE58
tetradic
#5852DE #DE5292 #D8DE52 #52DE9E
square
#5852DE #DE5292 #D8DE52 #52DE9E
split-complementary
#5852DE #DE9E52 #92DE52
monochromatic
#221D99 #2E27CC #5852DE #8A85E8 #BBB9F2

Accessibility & contrast

On white

5.71
#5852DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5852DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852DE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852DE#FFFFFF#000000##FFFFFF
##5852DE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0061DB
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5852de;
/* rgb */ color: rgb(88, 82, 222);
/* oklch */ color: oklch(52.9% 0.206 278.6);
Tailwind
colors: {
  custom: {
    50: '#9483e9',
    500: '#5852de',
    950: '#000000',
  },
}
SCSS
$custom: #5852de;
$custom-light: #9483e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5852de",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 242.571,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.20618,
    "h": 278.6
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#5852DE
secondary
#DFE1AB
accent
#EB3DE3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5852DE

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

Preview Lab → · Contrast checker → · Palette generator →

#5852DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva