#5277ED#5277ED

#5277ED is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.4% C 0.182 H 267.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5277ED
RGBrgb(82, 119, 237)
HSLhsl(226, 81%, 63%)
HSVhsv(226, 65%, 93%)
CMYKcmyk(65.4%, 49.8%, 0%, 7.1%)
CIE-LABlab(53.06, 24.21, -63.52)
CIE-LCHlch(53.06, 67.97, 290.87°)
OKLaboklab(60.41% -0.0077 -0.1822)
OKLCHoklch(60.41% 0.182 267.6)
XYZxyz(25.3573, 21.0995, 82.8406)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277ED #EDC852
analogous
#52C5ED #5277ED #7A52ED
triadic
#5277ED #ED5277 #77ED52
tetradic
#5277ED #ED52C5 #EDC852 #52ED7A
square
#5277ED #ED52C5 #EDC852 #52ED7A
split-complementary
#5277ED #ED7A52 #C5ED52
monochromatic
#1339B2 #1B4BE7 #5277ED #89A3F3 #C1CEF9

Accessibility & contrast

On white

4.02
#5277ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5277ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277ED
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277ED#FFFFFF#000000##000000
##5277ED1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F1
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5277ed;
/* rgb */ color: rgb(82, 119, 237);
/* oklch */ color: oklch(60.4% 0.182 267.6);
Tailwind
colors: {
  custom: {
    50: '#929df3',
    500: '#5277ed',
    950: '#000000',
  },
}
SCSS
$custom: #5277ed;
$custom-light: #929df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5277ed",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 225.677,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60413,
    "c": 0.18234,
    "h": 267.6
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#5277ED
secondary
#EADCB1
accent
#AB08DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5277ED

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

Preview Lab → · Contrast checker → · Palette generator →

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