#5273E1#5273E1

#5273E1 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.8% C 0.171 H 268.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5273E1
RGBrgb(82, 115, 225)
HSLhsl(226, 70%, 60%)
HSVhsv(226, 64%, 88%)
CMYKcmyk(63.6%, 48.9%, 0%, 11.8%)
CIE-LABlab(51.26, 22.57, -59.69)
CIE-LCHlch(51.26, 63.82, 290.71°)
OKLaboklab(58.8% -0.0053 -0.171)
OKLCHoklch(58.8% 0.171 268.2)
XYZxyz(23.1964, 19.4895, 73.7590)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273E1 #E1C052
analogous
#52BAE1 #5273E1 #7952E1
triadic
#5273E1 #E15273 #73E152
tetradic
#5273E1 #E152BA #E1C052 #52E179
square
#5273E1 #E152BA #E1C052 #52E179
split-complementary
#5273E1 #E17952 #BAE152
monochromatic
#1B399D #244CD1 #5273E1 #869DEA #BAC7F3

Accessibility & contrast

On white

4.29
#5273E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5273E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273E1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273E1#FFFFFF#000000##000000
##5273E11.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3881E5
Deuteranopia (green-blind)
#1474DF
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5273e1;
/* rgb */ color: rgb(82, 115, 225);
/* oklch */ color: oklch(58.8% 0.171 268.2);
Tailwind
colors: {
  custom: {
    50: '#909aeb',
    500: '#5273e1',
    950: '#000000',
  },
}
SCSS
$custom: #5273e1;
$custom-light: #909aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5273e1",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 225
  },
  "hsl": {
    "h": 226.154,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.588,
    "c": 0.17107,
    "h": 268.2
  },
  "luminance": 0.19492
}

Semantic roles & 50–950 ramp

primary
#5273E1
secondary
#E3D6AC
accent
#A613D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5273E1

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

Preview Lab → · Contrast checker → · Palette generator →

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