#5248CD#5248CD

#5248CD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.198 H 279.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5248CD
RGBrgb(82, 72, 205)
HSLhsl(245, 57%, 54%)
HSVhsv(245, 65%, 80%)
CMYKcmyk(60%, 64.9%, 0%, 19.6%)
CIE-LABlab(39.30, 42.31, -67.66)
CIE-LCHlch(39.30, 79.80, 302.02°)
OKLaboklab(49.45% 0.0333 -0.1948)
OKLCHoklch(49.45% 0.198 279.7)
XYZxyz(16.8130, 10.8351, 58.9512)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248CD #C3CD48
analogous
#4881CD #5248CD #9548CD
triadic
#5248CD #CD5248 #48CD52
tetradic
#5248CD #CD4881 #C3CD48 #48CD95
square
#5248CD #CD4881 #C3CD48 #48CD95
split-complementary
#5248CD #CD9548 #81CD48
monochromatic
#282179 #382EA9 #5248CD #7F78DA #ADA8E7

Accessibility & contrast

On white

6.63
#5248CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5248CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248CD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248CD#FFFFFF#000000##FFFFFF
##5248CD1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5248cd;
/* rgb */ color: rgb(82, 72, 205);
/* oklch */ color: oklch(49.4% 0.198 279.7);
Tailwind
colors: {
  custom: {
    50: '#8f7cdd',
    500: '#5248cd',
    950: '#000000',
  },
}
SCSS
$custom: #5248cd;
$custom-light: #8f7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5248cd",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 244.511,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49446,
    "c": 0.19764,
    "h": 279.7
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#5248CD
secondary
#D0D59C
accent
#E047D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5248CD

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

Preview Lab → · Contrast checker → · Palette generator →

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