#5273E7#5273E7

#5273E7 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.179 H 268.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5273E7
RGBrgb(82, 115, 231)
HSLhsl(227, 76%, 61%)
HSVhsv(227, 65%, 91%)
CMYKcmyk(64.5%, 50.2%, 0%, 9.4%)
CIE-LABlab(51.64, 24.62, -62.45)
CIE-LCHlch(51.64, 67.13, 291.52°)
OKLaboklab(59.21% -0.0047 -0.1791)
OKLCHoklch(59.21% 0.179 268.5)
XYZxyz(24.0293, 19.8226, 78.1456)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273E7 #E7C652
analogous
#52BEE7 #5273E7 #7C52E7
triadic
#5273E7 #E75273 #73E752
tetradic
#5273E7 #E752BE #E7C652 #52E77C
square
#5273E7 #E752BE #E7C652 #52E77C
split-complementary
#5273E7 #E77C52 #BEE752
monochromatic
#1737A7 #1F49DD #5273E7 #889EEE #BDCAF6

Accessibility & contrast

On white

4.23
#5273E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5273E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273E7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273E7#FFFFFF#000000##000000
##5273E71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5273e7;
/* rgb */ color: rgb(82, 115, 231);
/* oklch */ color: oklch(59.2% 0.179 268.5);
Tailwind
colors: {
  custom: {
    50: '#919aef',
    500: '#5273e7',
    950: '#000000',
  },
}
SCSS
$custom: #5273e7;
$custom-light: #919aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5273e7",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 226.711,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59212,
    "c": 0.17917,
    "h": 268.5
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#5273E7
secondary
#E6DAAF
accent
#AB0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5273E7

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

Preview Lab → · Contrast checker → · Palette generator →

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