#5652E8#5652E8

#5652E8 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.6% C 0.219 H 277.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5652E8
RGBrgb(86, 82, 232)
HSLhsl(242, 77%, 62%)
HSVhsv(242, 65%, 91%)
CMYKcmyk(62.9%, 64.7%, 0%, 9%)
CIE-LABlab(44.00, 45.64, -75.41)
CIE-LCHlch(44.00, 88.14, 301.18°)
OKLaboklab(53.62% 0.0275 -0.2174)
OKLCHoklch(53.62% 0.219 277.2)
XYZxyz(21.4158, 13.8375, 77.8706)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652E8 #E4E852
analogous
#5299E8 #5652E8 #A152E8
triadic
#5652E8 #E85652 #52E856
tetradic
#5652E8 #E85299 #E4E852 #52E8A1
square
#5652E8 #E85299 #E4E852 #52E8A1
split-complementary
#5652E8 #E8A152 #99E852
monochromatic
#1A16A9 #231EDF #5652E8 #8B88EF #C0BEF6

Accessibility & contrast

On white

5.57
#5652E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5652E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652E8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652E8#FFFFFF#000000##FFFFFF
##5652E81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0062E5
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5652e8;
/* rgb */ color: rgb(86, 82, 232);
/* oklch */ color: oklch(53.6% 0.219 277.2);
Tailwind
colors: {
  custom: {
    50: '#9583f0',
    500: '#5652e8',
    950: '#000000',
  },
}
SCSS
$custom: #5652e8;
$custom-light: #9583f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5652e8",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 241.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53619,
    "c": 0.21913,
    "h": 277.2
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#5652E8
secondary
#E5E7AF
accent
#D90DD3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5652E8

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

Preview Lab → · Contrast checker → · Palette generator →

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