#5852AF#5852AF

#5852AF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.144 H 282.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5852AF
RGBrgb(88, 82, 175)
HSLhsl(244, 37%, 50%)
HSVhsv(244, 53%, 69%)
CMYKcmyk(49.7%, 53.1%, 0%, 31.4%)
CIE-LABlab(39.92, 27.82, -49.09)
CIE-LCHlch(39.92, 56.43, 299.54°)
OKLaboklab(49.33% 0.0315 -0.14)
OKLCHoklch(49.33% 0.144 282.7)
XYZxyz(14.7773, 11.2037, 41.9330)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852AF #A9AF52
analogous
#527AAF #5852AF #8652AF
triadic
#5852AF #AF5852 #52AF58
tetradic
#5852AF #AF527A #A9AF52 #52AF86
square
#5852AF #AF527A #A9AF52 #52AF86
split-complementary
#5852AF #AF8652 #7AAF52
monochromatic
#2E2B5C #433E86 #5852AF #807CC2 #A9A6D6

Accessibility & contrast

On white

6.48
#5852AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5852AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852AF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852AF#FFFFFF#000000##FFFFFF
##5852AF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#1B5BAD
Tritanopia (blue-blind)
#386678
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5852af;
/* rgb */ color: rgb(88, 82, 175);
/* oklch */ color: oklch(49.3% 0.144 282.7);
Tailwind
colors: {
  custom: {
    50: '#8d82c7',
    500: '#5852af',
    950: '#000000',
  },
}
SCSS
$custom: #5852af;
$custom-light: #8d82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5852af",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 243.871,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.14351,
    "h": 282.7
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#5852AF
secondary
#C0C39A
accent
#CD5BC5
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5852AF

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

Preview Lab → · Contrast checker → · Palette generator →

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