#5248CB#5248CB

#5248CB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.3% C 0.195 H 279.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5248CB
RGBrgb(82, 72, 203)
HSLhsl(245, 56%, 54%)
HSVhsv(245, 65%, 80%)
CMYKcmyk(59.6%, 64.5%, 0%, 20.4%)
CIE-LABlab(39.14, 41.67, -66.77)
CIE-LCHlch(39.14, 78.71, 301.97°)
OKLaboklab(49.28% 0.0335 -0.1922)
OKLCHoklch(49.28% 0.195 279.9)
XYZxyz(16.5731, 10.7392, 57.6879)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248CB #C1CB48
analogous
#4880CB #5248CB #9448CB
triadic
#5248CB #CB5248 #48CB52
tetradic
#5248CB #CB4880 #C1CB48 #48CB94
square
#5248CB #CB4880 #C1CB48 #48CB94
split-complementary
#5248CB #CB9448 #80CB48
monochromatic
#282277 #382FA6 #5248CB #7F78D9 #ACA7E6

Accessibility & contrast

On white

6.67
#5248CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5248CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248CB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248CB#FFFFFF#000000##FFFFFF
##5248CB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5248cb;
/* rgb */ color: rgb(82, 72, 203);
/* oklch */ color: oklch(49.3% 0.195 279.9);
Tailwind
colors: {
  custom: {
    50: '#8f7cdc',
    500: '#5248cb',
    950: '#000000',
  },
}
SCSS
$custom: #5248cb;
$custom-light: #8f7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5248cb",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 244.58,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.1951,
    "h": 279.9
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#5248CB
secondary
#CFD39B
accent
#DF49D4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5248CB

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

Preview Lab → · Contrast checker → · Palette generator →

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