#5652B2#5652B2

#5652B2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.148 H 281.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5652B2
RGBrgb(86, 82, 178)
HSLhsl(243, 38%, 51%)
HSVhsv(243, 54%, 70%)
CMYKcmyk(51.7%, 53.9%, 0%, 30.2%)
CIE-LABlab(39.96, 28.33, -50.81)
CIE-LCHlch(39.96, 58.17, 299.14°)
OKLaboklab(49.38% 0.0292 -0.1451)
OKLCHoklch(49.38% 0.148 281.4)
XYZxyz(14.8885, 11.2265, 43.4933)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5652B2 #AEB252
analogous
#527EB2 #5652B2 #8652B2
triadic
#5652B2 #B25652 #52B256
tetradic
#5652B2 #B2527E #AEB252 #52B286
square
#5652B2 #B2527E #AEB252 #52B286
split-complementary
#5652B2 #B28652 #7EB252
monochromatic
#2D2A5F #403D8A #5652B2 #7F7CC5 #A9A7D8

Accessibility & contrast

On white

6.47
#5652B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5652B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5652B2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5652B2#FFFFFF#000000##FFFFFF
##5652B21.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B5
Deuteranopia (green-blind)
#105BB0
Tritanopia (blue-blind)
#31677A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5652b2;
/* rgb */ color: rgb(86, 82, 178);
/* oklch */ color: oklch(49.4% 0.148 281.4);
Tailwind
colors: {
  custom: {
    50: '#8c82ca',
    500: '#5652b2',
    950: '#000000',
  },
}
SCSS
$custom: #5652b2;
$custom-light: #8c82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5652b2",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 242.5,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49377,
    "c": 0.14802,
    "h": 281.4
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#5652B2
secondary
#C3C59B
accent
#CE59C9
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5652B2

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

Preview Lab → · Contrast checker → · Palette generator →

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