#5248CF#5248CF

#5248CF is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.6% C 0.200 H 279.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5248CF
RGBrgb(82, 72, 207)
HSLhsl(244, 58%, 55%)
HSVhsv(244, 65%, 81%)
CMYKcmyk(60.4%, 65.2%, 0%, 18.8%)
CIE-LABlab(39.47, 42.94, -68.55)
CIE-LCHlch(39.47, 80.89, 302.07°)
OKLaboklab(49.62% 0.0331 -0.1974)
OKLCHoklch(49.62% 0.2 279.5)
XYZxyz(17.0559, 10.9323, 60.2307)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248CF #C5CF48
analogous
#4882CF #5248CF #9548CF
triadic
#5248CF #CF5248 #48CF52
tetradic
#5248CF #CF4882 #C5CF48 #48CF95
square
#5248CF #CF4882 #C5CF48 #48CF95
split-complementary
#5248CF #CF9548 #82CF48
monochromatic
#27217C #372DAD #5248CF #8078DC #AEA9E8

Accessibility & contrast

On white

6.59
#5248CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5248CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248CF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248CF#FFFFFF#000000##FFFFFF
##5248CF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5248cf;
/* rgb */ color: rgb(82, 72, 207);
/* oklch */ color: oklch(49.6% 0.200 279.5);
Tailwind
colors: {
  custom: {
    50: '#907cdf',
    500: '#5248cf',
    950: '#000000',
  },
}
SCSS
$custom: #5248cf;
$custom-light: #907cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5248cf",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 244.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.20017,
    "h": 279.5
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#5248CF
secondary
#D2D69D
accent
#E246D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5248CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5248CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva