#5249CB#5249CB

#5249CB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.194 H 279.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5249CB
RGBrgb(82, 73, 203)
HSLhsl(244, 56%, 54%)
HSVhsv(244, 64%, 80%)
CMYKcmyk(59.6%, 64%, 0%, 20.4%)
CIE-LABlab(39.36, 41.08, -66.41)
CIE-LCHlch(39.36, 78.09, 301.74°)
OKLaboklab(49.44% 0.0326 -0.1911)
OKLCHoklch(49.44% 0.194 279.7)
XYZxyz(16.6383, 10.8695, 57.7096)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249CB #C2CB49
analogous
#4981CB #5249CB #9349CB
triadic
#5249CB #CB5249 #49CB52
tetradic
#5249CB #CB4981 #C2CB49 #49CB93
square
#5249CB #CB4981 #C2CB49 #49CB93
split-complementary
#5249CB #CB9349 #81CB49
monochromatic
#282277 #3830A7 #5249CB #7F79D9 #ACA8E6

Accessibility & contrast

On white

6.62
#5249CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5249CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249CB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249CB#FFFFFF#000000##FFFFFF
##5249CB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5249cb;
/* rgb */ color: rgb(82, 73, 203);
/* oklch */ color: oklch(49.4% 0.194 279.7);
Tailwind
colors: {
  custom: {
    50: '#8f7cdc',
    500: '#5249cb',
    950: '#000000',
  },
}
SCSS
$custom: #5249cb;
$custom-light: #8f7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5249cb",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 244.154,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.1939,
    "h": 279.7
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5249CB

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

Preview Lab → · Contrast checker → · Palette generator →

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