#5273E4#5273E4

#5273E4 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.0% C 0.175 H 268.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5273E4
RGBrgb(82, 115, 228)
HSLhsl(226, 73%, 61%)
HSVhsv(226, 64%, 89%)
CMYKcmyk(64%, 49.6%, 0%, 10.6%)
CIE-LABlab(51.44, 23.60, -61.08)
CIE-LCHlch(51.44, 65.48, 291.12°)
OKLaboklab(59.01% -0.005 -0.1751)
OKLCHoklch(59.01% 0.175 268.4)
XYZxyz(23.6092, 19.6546, 75.9333)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273E4 #E4C352
analogous
#52BCE4 #5273E4 #7A52E4
triadic
#5273E4 #E45273 #73E452
tetradic
#5273E4 #E452BC #E4C352 #52E47A
square
#5273E4 #E452BC #E4C352 #52E47A
split-complementary
#5273E4 #E47A52 #BCE452
monochromatic
#1938A2 #224BD7 #5273E4 #879EEC #BCC9F5

Accessibility & contrast

On white

4.26
#5273E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5273E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273E4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273E4#FFFFFF#000000##000000
##5273E41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E8
Deuteranopia (green-blind)
#0674E2
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5273e4;
/* rgb */ color: rgb(82, 115, 228);
/* oklch */ color: oklch(59.0% 0.175 268.4);
Tailwind
colors: {
  custom: {
    50: '#919aed',
    500: '#5273e4',
    950: '#000000',
  },
}
SCSS
$custom: #5273e4;
$custom-light: #919aed;
$custom-dark: #000000;
JSON
{
  "hex": "#5273e4",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 228
  },
  "hsl": {
    "h": 226.438,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59005,
    "c": 0.17513,
    "h": 268.4
  },
  "luminance": 0.19657
}

Semantic roles & 50–950 ramp

primary
#5273E4
secondary
#E5D8AD
accent
#A910D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5273E4

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

Preview Lab → · Contrast checker → · Palette generator →

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