#5250DB#5250DB

#5250DB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.9% C 0.206 H 277.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5250DB
RGBrgb(82, 80, 219)
HSLhsl(241, 66%, 59%)
HSVhsv(241, 63%, 86%)
CMYKcmyk(62.6%, 63.5%, 0%, 14.1%)
CIE-LABlab(42.22, 42.06, -70.94)
CIE-LCHlch(42.22, 82.47, 300.67°)
OKLaboklab(51.93% 0.0254 -0.2044)
OKLCHoklch(51.93% 0.206 277.1)
XYZxyz(19.1304, 12.6441, 68.4365)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250DB #D9DB50
analogous
#5093DB #5250DB #9750DB
triadic
#5250DB #DB5250 #50DB52
tetradic
#5250DB #DB5093 #D9DB50 #50DB97
square
#5250DB #DB5093 #D9DB50 #50DB97
split-complementary
#5250DB #DB9750 #93DB50
monochromatic
#201E92 #2B29C5 #5250DB #8483E5 #B6B6F0

Accessibility & contrast

On white

5.95
#5250DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5250DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250DB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250DB#FFFFFF#000000##FFFFFF
##5250DB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5250db;
/* rgb */ color: rgb(82, 80, 219);
/* oklch */ color: oklch(51.9% 0.206 277.1);
Tailwind
colors: {
  custom: {
    50: '#9181e7',
    500: '#5250db',
    950: '#000000',
  },
}
SCSS
$custom: #5250db;
$custom-light: #9181e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5250db",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 240.863,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.20598,
    "h": 277.1
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#5250DB
secondary
#DEDFA8
accent
#E93FE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5250DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5250DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva