#5273E8#5273E8

#5273E8 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.3% C 0.181 H 268.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5273E8
RGBrgb(82, 115, 232)
HSLhsl(227, 77%, 62%)
HSVhsv(227, 65%, 91%)
CMYKcmyk(64.7%, 50.4%, 0%, 9%)
CIE-LABlab(51.70, 24.97, -62.91)
CIE-LCHlch(51.70, 67.68, 291.65°)
OKLaboklab(59.28% -0.0046 -0.1804)
OKLCHoklch(59.28% 0.181 268.5)
XYZxyz(24.1709, 19.8793, 78.8916)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273E8 #E8C752
analogous
#52BEE8 #5273E8 #7C52E8
triadic
#5273E8 #E85273 #73E852
tetradic
#5273E8 #E852BE #E8C752 #52E87C
square
#5273E8 #E852BE #E8C752 #52E87C
split-complementary
#5273E8 #E87C52 #BEE852
monochromatic
#1637A9 #1E48DF #5273E8 #889FEF #BECAF6

Accessibility & contrast

On white

4.22
#5273E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5273E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273E8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273E8#FFFFFF#000000##000000
##5273E81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EC
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5273e8;
/* rgb */ color: rgb(82, 115, 232);
/* oklch */ color: oklch(59.3% 0.181 268.5);
Tailwind
colors: {
  custom: {
    50: '#919af0',
    500: '#5273e8',
    950: '#000000',
  },
}
SCSS
$custom: #5273e8;
$custom-light: #919af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5273e8",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 226.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59281,
    "c": 0.18051,
    "h": 268.5
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#5273E8
secondary
#E7DBAF
accent
#AC0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5273E8

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

Preview Lab → · Contrast checker → · Palette generator →

#5273E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva