#5652F1#5652F1

#5652F1 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.230 H 276.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5652F1
RGBrgb(86, 82, 241)
HSLhsl(242, 85%, 63%)
HSVhsv(242, 66%, 95%)
CMYKcmyk(64.3%, 66%, 0%, 5.5%)
CIE-LABlab(44.75, 48.50, -79.26)
CIE-LCHlch(44.75, 92.92, 301.46°)
OKLaboklab(54.39% 0.0266 -0.2287)
OKLCHoklch(54.39% 0.23 276.6)
XYZxyz(22.7271, 14.3620, 84.7765)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652F1 #EDF152
analogous
#529EF1 #5652F1 #A552F1
triadic
#5652F1 #F15652 #52F156
tetradic
#5652F1 #F1529E #EDF152 #52F1A5
square
#5652F1 #F1529E #EDF152 #52F1A5
split-complementary
#5652F1 #F1A552 #9EF152
monochromatic
#130FBA #1F19EC #5652F1 #8D8BF6 #C5C3FA

Accessibility & contrast

On white

5.42
#5652F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5652F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652F1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652F1#FFFFFF#000000##FFFFFF
##5652F11.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F6
Deuteranopia (green-blind)
#0063EE
Tritanopia (blue-blind)
#007C9B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5652f1;
/* rgb */ color: rgb(86, 82, 241);
/* oklch */ color: oklch(54.4% 0.230 276.6);
Tailwind
colors: {
  custom: {
    50: '#9783f7',
    500: '#5652f1',
    950: '#000000',
  },
}
SCSS
$custom: #5652f1;
$custom-light: #9783f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5652f1",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 241.509,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.23022,
    "h": 276.6
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#5652F1
secondary
#EAECB3
accent
#E204DC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5652F1

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

Preview Lab → · Contrast checker → · Palette generator →

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