#5852F3#5852F3

#5852F3 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.7% C 0.232 H 277.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5852F3
RGBrgb(88, 82, 243)
HSLhsl(242, 87%, 64%)
HSVhsv(242, 66%, 95%)
CMYKcmyk(63.8%, 66.3%, 0%, 4.7%)
CIE-LABlab(45.05, 49.39, -79.88)
CIE-LCHlch(45.05, 93.91, 301.73°)
OKLaboklab(54.7% 0.0287 -0.2304)
OKLCHoklch(54.7% 0.232 277.1)
XYZxyz(23.2142, 14.5784, 86.3672)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852F3 #EDF352
analogous
#529CF3 #5852F3 #A852F3
triadic
#5852F3 #F35852 #52F358
tetradic
#5852F3 #F3529C #EDF352 #52F3A8
square
#5852F3 #F3529C #EDF352 #52F3A8
split-complementary
#5852F3 #F3A852 #9CF352
monochromatic
#140DBD #2119EF #5852F3 #8F8BF7 #C6C4FB

Accessibility & contrast

On white

5.36
#5852F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5852F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852F3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852F3#FFFFFF#000000##FFFFFF
##5852F31.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F8
Deuteranopia (green-blind)
#0064F0
Tritanopia (blue-blind)
#007C9C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5852f3;
/* rgb */ color: rgb(88, 82, 243);
/* oklch */ color: oklch(54.7% 0.232 277.1);
Tailwind
colors: {
  custom: {
    50: '#9884f8',
    500: '#5852f3',
    950: '#000000',
  },
}
SCSS
$custom: #5852f3;
$custom-light: #9884f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5852f3",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 242.236,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.23222,
    "h": 277.1
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#5852F3
secondary
#EBEDB4
accent
#E402DB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5852F3

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

Preview Lab → · Contrast checker → · Palette generator →

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