#5250CD#5250CD

#5250CD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.188 H 278.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5250CD
RGBrgb(82, 80, 205)
HSLhsl(241, 56%, 56%)
HSVhsv(241, 61%, 80%)
CMYKcmyk(60%, 61%, 0%, 19.6%)
CIE-LABlab(41.12, 37.52, -64.70)
CIE-LCHlch(41.12, 74.79, 300.11°)
OKLaboklab(50.77% 0.0263 -0.1861)
OKLCHoklch(50.77% 0.188 278.1)
XYZxyz(17.3642, 11.9376, 59.1349)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5250CD #CBCD50
analogous
#508CCD #5250CD #9050CD
triadic
#5250CD #CD5250 #50CD52
tetradic
#5250CD #CD508C #CBCD50 #50CD90
square
#5250CD #CD508C #CBCD50 #50CD90
split-complementary
#5250CD #CD9050 #8CCD50
monochromatic
#26247E #3432AE #5250CD #8180DB #B0AFE8

Accessibility & contrast

On white

6.20
#5250CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5250CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5250CD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5250CD#FFFFFF#000000##FFFFFF
##5250CD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5250cd;
/* rgb */ color: rgb(82, 80, 205);
/* oklch */ color: oklch(50.8% 0.188 278.1);
Tailwind
colors: {
  custom: {
    50: '#8f81dd',
    500: '#5250cd',
    950: '#000000',
  },
}
SCSS
$custom: #5250cd;
$custom-light: #8f81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5250cd",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 240.96,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.18793,
    "h": 278.1
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#5250CD
secondary
#D5D6A2
accent
#DF49DC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5250CD

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

Preview Lab → · Contrast checker → · Palette generator →

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