#5254E0#5254E0

#5254E0 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.0% C 0.208 H 276.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5254E0
RGBrgb(82, 84, 224)
HSLhsl(239, 70%, 60%)
HSVhsv(239, 63%, 88%)
CMYKcmyk(63.4%, 62.5%, 0%, 12.2%)
CIE-LABlab(43.53, 41.30, -71.65)
CIE-LCHlch(43.53, 82.70, 299.96°)
OKLaboklab(53.01% 0.0219 -0.2065)
OKLCHoklch(53.01% 0.208 276)
XYZxyz(20.1001, 13.5146, 72.0559)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5254E0 #E0DE52
analogous
#529BE0 #5254E0 #9752E0
triadic
#5254E0 #E05254 #54E052
tetradic
#5254E0 #E0529B #E0DE52 #52E097
square
#5254E0 #E0529B #E0DE52 #52E097
split-complementary
#5254E0 #E09752 #9BE052
monochromatic
#1C1E9C #2528D0 #5254E0 #8687E9 #BABBF3

Accessibility & contrast

On white

5.67
#5254E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5254E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5254E0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5254E0#FFFFFF#000000##FFFFFF
##5254E01.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0061DD
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5254e0;
/* rgb */ color: rgb(82, 84, 224);
/* oklch */ color: oklch(53.0% 0.208 276.0);
Tailwind
colors: {
  custom: {
    50: '#9284eb',
    500: '#5254e0',
    950: '#000000',
  },
}
SCSS
$custom: #5254e0;
$custom-light: #9284eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5254e0",
  "rgb": {
    "r": 82,
    "g": 84,
    "b": 224
  },
  "hsl": {
    "h": 239.155,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.20764,
    "h": 276
  },
  "luminance": 0.13516
}

Semantic roles & 50–950 ramp

primary
#5254E0
secondary
#E2E1AC
accent
#EA3BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5254E0

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

Preview Lab → · Contrast checker → · Palette generator →

#5254E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva