#5852FF#5852FF

#5852FF is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.8% C 0.247 H 276.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5852FF
RGBrgb(88, 82, 255)
HSLhsl(242, 100%, 66%)
HSVhsv(242, 68%, 100%)
CMYKcmyk(65.5%, 67.8%, 0%, 0%)
CIE-LABlab(46.08, 53.14, -84.90)
CIE-LCHlch(46.08, 100.16, 302.05°)
OKLaboklab(55.75% 0.0272 -0.2451)
OKLCHoklch(55.75% 0.247 276.3)
XYZxyz(25.0859, 15.3271, 96.2248)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852FF #F9FF52
analogous
#52A2FF #5852FF #AE52FF
triadic
#5852FF #FF5852 #52FF58
tetradic
#5852FF #FF52A2 #F9FF52 #52FFAE
square
#5852FF #FF52A2 #F9FF52 #52FFAE
split-complementary
#5852FF #FFAE52 #A2FF52
monochromatic
#0700D7 #1D15FF #5852FF #938FFF #CECCFF

Accessibility & contrast

On white

5.17
#5852FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5852FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852FF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852FF#FFFFFF#000000##FFFFFF
##5852FF1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0065FC
Tritanopia (blue-blind)
#0081A2
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5852ff;
/* rgb */ color: rgb(88, 82, 255);
/* oklch */ color: oklch(55.8% 0.247 276.3);
Tailwind
colors: {
  custom: {
    50: '#9a84ff',
    500: '#5852ff',
    950: '#000000',
  },
}
SCSS
$custom: #5852ff;
$custom-light: #9a84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5852ff",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 242.081,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.24663,
    "h": 276.3
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#5852FF
secondary
#F1F3BA
accent
#E600DE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5852FF

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

Preview Lab → · Contrast checker → · Palette generator →

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