#5277EC#5277EC

#5277EC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.181 H 267.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5277EC
RGBrgb(82, 119, 236)
HSLhsl(226, 80%, 62%)
HSVhsv(226, 65%, 93%)
CMYKcmyk(65.3%, 49.6%, 0%, 7.5%)
CIE-LABlab(52.99, 23.87, -63.06)
CIE-LCHlch(52.99, 67.43, 290.73°)
OKLaboklab(60.35% -0.0078 -0.1808)
OKLCHoklch(60.35% 0.181 267.5)
XYZxyz(25.2116, 21.0413, 82.0733)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277EC #ECC752
analogous
#52C4EC #5277EC #7A52EC
triadic
#5277EC #EC5277 #77EC52
tetradic
#5277EC #EC52C4 #ECC752 #52EC7A
square
#5277EC #EC52C4 #ECC752 #52EC7A
split-complementary
#5277EC #EC7A52 #C4EC52
monochromatic
#1339B0 #1B4CE6 #5277EC #89A2F2 #C0CEF8

Accessibility & contrast

On white

4.03
#5277EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5277EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277EC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277EC#FFFFFF#000000##000000
##5277EC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F0
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5277ec;
/* rgb */ color: rgb(82, 119, 236);
/* oklch */ color: oklch(60.3% 0.181 267.5);
Tailwind
colors: {
  custom: {
    50: '#929df3',
    500: '#5277ec',
    950: '#000000',
  },
}
SCSS
$custom: #5277ec;
$custom-light: #929df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5277ec",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 225.584,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.18101,
    "h": 267.5
  },
  "luminance": 0.21044
}

Semantic roles & 50–950 ramp

primary
#5277EC
secondary
#E9DCB1
accent
#AA09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5277EC

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

Preview Lab → · Contrast checker → · Palette generator →

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