#5277E5#5277E5

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

Color values

HEX#5277E5
RGBrgb(82, 119, 229)
HSLhsl(225, 74%, 61%)
HSVhsv(225, 64%, 90%)
CMYKcmyk(64.2%, 48%, 0%, 10.2%)
CIE-LABlab(52.56, 21.47, -59.85)
CIE-LCHlch(52.56, 63.58, 289.73°)
OKLaboklab(59.87% -0.0086 -0.1714)
OKLCHoklch(59.87% 0.172 267.1)
XYZxyz(24.2145, 20.6424, 76.8218)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277E5 #E5C052
analogous
#52C0E5 #5277E5 #7652E5
triadic
#5277E5 #E55277 #77E552
tetradic
#5277E5 #E552C0 #E5C052 #52E576
square
#5277E5 #E552C0 #E5C052 #52E576
split-complementary
#5277E5 #E57652 #C0E552
monochromatic
#193CA4 #214FD9 #5277E5 #87A1ED #BCCBF5

Accessibility & contrast

On white

4.09
#5277E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5277E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277E5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277E5#FFFFFF#000000##000000
##5277E51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D84E9
Deuteranopia (green-blind)
#1B77E3
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5277e5;
/* rgb */ color: rgb(82, 119, 229);
/* oklch */ color: oklch(59.9% 0.172 267.1);
Tailwind
colors: {
  custom: {
    50: '#919dee',
    500: '#5277e5',
    950: '#000000',
  },
}
SCSS
$custom: #5277e5;
$custom-light: #919dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5277e5",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 229
  },
  "hsl": {
    "h": 224.898,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5987,
    "c": 0.17161,
    "h": 267.1
  },
  "luminance": 0.20645
}

Semantic roles & 50–950 ramp

primary
#5277E5
secondary
#E5D7AE
accent
#A410D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5277E5

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

Preview Lab → · Contrast checker → · Palette generator →

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