#5652F3#5652F3

#5652F3 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.6% C 0.233 H 276.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5652F3
RGBrgb(86, 82, 243)
HSLhsl(241, 87%, 64%)
HSVhsv(241, 66%, 95%)
CMYKcmyk(64.6%, 66.3%, 0%, 4.7%)
CIE-LABlab(44.92, 49.13, -80.10)
CIE-LCHlch(44.92, 93.97, 301.52°)
OKLaboklab(54.57% 0.0263 -0.2312)
OKLCHoklch(54.57% 0.233 276.5)
XYZxyz(23.0274, 14.4821, 86.3585)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652F3 #EFF352
analogous
#529EF3 #5652F3 #A652F3
triadic
#5652F3 #F35652 #52F356
tetradic
#5652F3 #F3529E #EFF352 #52F3A6
square
#5652F3 #F3529E #EFF352 #52F3A6
split-complementary
#5652F3 #F3A652 #9EF352
monochromatic
#120DBD #1E19EF #5652F3 #8E8BF7 #C6C4FB

Accessibility & contrast

On white

5.39
#5652F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5652F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652F3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652F3#FFFFFF#000000##FFFFFF
##5652F31.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F8
Deuteranopia (green-blind)
#0063F0
Tritanopia (blue-blind)
#007D9C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5652f3;
/* rgb */ color: rgb(86, 82, 243);
/* oklch */ color: oklch(54.6% 0.233 276.5);
Tailwind
colors: {
  custom: {
    50: '#9784f8',
    500: '#5652f3',
    950: '#000000',
  },
}
SCSS
$custom: #5652f3;
$custom-light: #9784f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5652f3",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 241.491,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.23266,
    "h": 276.5
  },
  "luminance": 0.14484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5652F3

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

Preview Lab → · Contrast checker → · Palette generator →

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