#5244CB#5244CB

#5244CB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.6% C 0.200 H 280.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5244CB
RGBrgb(82, 68, 203)
HSLhsl(246, 56%, 53%)
HSVhsv(246, 67%, 80%)
CMYKcmyk(59.6%, 66.5%, 0%, 20.4%)
CIE-LABlab(38.27, 44.01, -68.19)
CIE-LCHlch(38.27, 81.16, 302.84°)
OKLaboklab(48.65% 0.0369 -0.1964)
OKLCHoklch(48.65% 0.2 280.6)
XYZxyz(16.3229, 10.2387, 57.6045)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244CB #BDCB44
analogous
#4479CB #5244CB #9544CB
triadic
#5244CB #CB5244 #44CB52
tetradic
#5244CB #CB4479 #BDCB44 #44CB95
square
#5244CB #CB4479 #BDCB44 #44CB95
split-complementary
#5244CB #CB9544 #79CB44
monochromatic
#292074 #3A2EA4 #5244CB #7E74D8 #ABA4E6

Accessibility & contrast

On white

6.89
#5244CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5244CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5244CB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244CB#FFFFFF#000000##FFFFFF
##5244CB1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5244cb;
/* rgb */ color: rgb(82, 68, 203);
/* oklch */ color: oklch(48.6% 0.200 280.6);
Tailwind
colors: {
  custom: {
    50: '#8f79dc',
    500: '#5244cb',
    950: '#000000',
  },
}
SCSS
$custom: #5244cb;
$custom-light: #8f79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5244cb",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 246.222,
    "s": 56.485,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48646,
    "c": 0.19981,
    "h": 280.6
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#5244CB
secondary
#CCD398
accent
#E048D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5244CB

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

Preview Lab → · Contrast checker → · Palette generator →

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