#5277E4#5277E4

#5277E4 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.170 H 267.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5277E4
RGBrgb(82, 119, 228)
HSLhsl(225, 73%, 61%)
HSVhsv(225, 64%, 89%)
CMYKcmyk(64%, 47.8%, 0%, 10.6%)
CIE-LABlab(52.49, 21.13, -59.39)
CIE-LCHlch(52.49, 63.03, 289.58°)
OKLaboklab(59.8% -0.0087 -0.17)
OKLCHoklch(59.8% 0.17 267.1)
XYZxyz(24.0753, 20.5867, 76.0886)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277E4 #E4BF52
analogous
#52C0E4 #5277E4 #7652E4
triadic
#5277E4 #E45277 #77E452
tetradic
#5277E4 #E452C0 #E4BF52 #52E476
square
#5277E4 #E452C0 #E4BF52 #52E476
split-complementary
#5277E4 #E47652 #C0E452
monochromatic
#193CA2 #2250D7 #5277E4 #87A1EC #BCCAF5

Accessibility & contrast

On white

4.10
#5277E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5277E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277E4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277E4#FFFFFF#000000##000000
##5277E41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E84E8
Deuteranopia (green-blind)
#1E77E2
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5277e4;
/* rgb */ color: rgb(82, 119, 228);
/* oklch */ color: oklch(59.8% 0.170 267.1);
Tailwind
colors: {
  custom: {
    50: '#909ded',
    500: '#5277e4',
    950: '#000000',
  },
}
SCSS
$custom: #5277e4;
$custom-light: #909ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5277e4",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 228
  },
  "hsl": {
    "h": 224.795,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.17025,
    "h": 267.1
  },
  "luminance": 0.20589
}

Semantic roles & 50–950 ramp

primary
#5277E4
secondary
#E5D7AD
accent
#A310D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5277E4

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

Preview Lab → · Contrast checker → · Palette generator →

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