#5250DF#5250DF

#5250DF is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.211 H 276.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5250DF
RGBrgb(82, 80, 223)
HSLhsl(241, 69%, 59%)
HSVhsv(241, 64%, 87%)
CMYKcmyk(63.2%, 64.1%, 0%, 12.5%)
CIE-LABlab(42.55, 43.36, -72.69)
CIE-LCHlch(42.55, 84.64, 300.82°)
OKLaboklab(52.26% 0.0251 -0.2095)
OKLCHoklch(52.26% 0.211 276.8)
XYZxyz(19.6633, 12.8573, 71.2432)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250DF #DDDF50
analogous
#5096DF #5250DF #9A50DF
triadic
#5250DF #DF5250 #50DF52
tetradic
#5250DF #DF5096 #DDDF50 #50DF9A
square
#5250DF #DF5096 #DDDF50 #50DF9A
split-complementary
#5250DF #DF9A50 #96DF50
monochromatic
#1E1C99 #2825CC #5250DF #8584E8 #B8B7F2

Accessibility & contrast

On white

5.88
#5250DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5250DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250DF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250DF#FFFFFF#000000##FFFFFF
##5250DF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5250df;
/* rgb */ color: rgb(82, 80, 223);
/* oklch */ color: oklch(52.3% 0.211 276.8);
Tailwind
colors: {
  custom: {
    50: '#9282ea',
    500: '#5250df',
    950: '#000000',
  },
}
SCSS
$custom: #5250df;
$custom-light: #9282ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5250df",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 240.839,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.21103,
    "h": 276.8
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#5250DF
secondary
#E0E1AA
accent
#EC3CE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5250DF

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

Preview Lab → · Contrast checker → · Palette generator →

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