#5249BB#5249BB

#5249BB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.173 H 281.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5249BB
RGBrgb(82, 73, 187)
HSLhsl(245, 46%, 51%)
HSVhsv(245, 61%, 73%)
CMYKcmyk(56.1%, 61%, 0%, 26.7%)
CIE-LABlab(38.10, 35.97, -59.13)
CIE-LCHlch(38.10, 69.21, 301.31°)
OKLaboklab(48.13% 0.0338 -0.1697)
OKLCHoklch(48.13% 0.173 281.2)
XYZxyz(14.8291, 10.1458, 48.1810)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249BB #B2BB49
analogous
#4979BB #5249BB #8B49BB
triadic
#5249BB #BB5249 #49BB52
tetradic
#5249BB #BB4979 #B2BB49 #49BB8B
square
#5249BB #BB4979 #B2BB49 #49BB8B
split-complementary
#5249BB #BB8B49 #79BB49
monochromatic
#2A2564 #3D3691 #5249BB #7C76CC #A7A2DC

Accessibility & contrast

On white

6.93
#5249BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5249BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249BB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249BB#FFFFFF#000000##FFFFFF
##5249BB1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#1D647B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5249bb;
/* rgb */ color: rgb(82, 73, 187);
/* oklch */ color: oklch(48.1% 0.173 281.2);
Tailwind
colors: {
  custom: {
    50: '#8c7cd0',
    500: '#5249bb',
    950: '#000000',
  },
}
SCSS
$custom: #5249bb;
$custom-light: #8c7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5249bb",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 244.737,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48127,
    "c": 0.17306,
    "h": 281.2
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#5249BB
secondary
#C5C997
accent
#D553CB
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5249BB

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

Preview Lab → · Contrast checker → · Palette generator →

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