#5275ED#5275ED

#5275ED is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.185 H 268.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5275ED
RGBrgb(82, 117, 237)
HSLhsl(226, 81%, 63%)
HSVhsv(226, 65%, 93%)
CMYKcmyk(65.4%, 50.6%, 0%, 7.1%)
CIE-LABlab(52.54, 25.45, -64.35)
CIE-LCHlch(52.54, 69.20, 291.57°)
OKLaboklab(60.02% -0.0059 -0.1847)
OKLCHoklch(60.02% 0.185 268.2)
XYZxyz(25.1218, 20.6285, 82.7621)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5275ED #EDCA52
analogous
#52C2ED #5275ED #7D52ED
triadic
#5275ED #ED5275 #75ED52
tetradic
#5275ED #ED52C2 #EDCA52 #52ED7D
square
#5275ED #ED52C2 #EDCA52 #52ED7D
split-complementary
#5275ED #ED7D52 #C2ED52
monochromatic
#1337B2 #1B49E7 #5275ED #89A1F3 #C1CDF9

Accessibility & contrast

On white

4.10
#5275ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5275ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5275ED
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5275ED#FFFFFF#000000##000000
##5275ED1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F1
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5275ed;
/* rgb */ color: rgb(82, 117, 237);
/* oklch */ color: oklch(60.0% 0.185 268.2);
Tailwind
colors: {
  custom: {
    50: '#929cf4',
    500: '#5275ed',
    950: '#000000',
  },
}
SCSS
$custom: #5275ed;
$custom-light: #929cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5275ed",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 237
  },
  "hsl": {
    "h": 226.452,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.18476,
    "h": 268.2
  },
  "luminance": 0.20631
}

Semantic roles & 50–950 ramp

primary
#5275ED
secondary
#EADDB1
accent
#AD08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5275ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5275ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva