#5273E6#5273E6

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

Color values

HEX#5273E6
RGBrgb(82, 115, 230)
HSLhsl(227, 75%, 61%)
HSVhsv(227, 64%, 90%)
CMYKcmyk(64.3%, 50%, 0%, 9.8%)
CIE-LABlab(51.57, 24.28, -61.99)
CIE-LCHlch(51.57, 66.58, 291.39°)
OKLaboklab(59.14% -0.0048 -0.1778)
OKLCHoklch(59.14% 0.178 268.5)
XYZxyz(23.8885, 19.7663, 77.4039)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273E6 #E6C552
analogous
#52BDE6 #5273E6 #7B52E6
triadic
#5273E6 #E65273 #73E652
tetradic
#5273E6 #E652BD #E6C552 #52E67B
square
#5273E6 #E652BD #E6C552 #52E67B
split-complementary
#5273E6 #E67B52 #BDE652
monochromatic
#1838A6 #2049DB #5273E6 #879EEE #BDCAF5

Accessibility & contrast

On white

4.24
#5273E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5273E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273E6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273E6#FFFFFF#000000##000000
##5273E61.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EA
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5273e6;
/* rgb */ color: rgb(82, 115, 230);
/* oklch */ color: oklch(59.1% 0.178 268.5);
Tailwind
colors: {
  custom: {
    50: '#919aef',
    500: '#5273e6',
    950: '#000000',
  },
}
SCSS
$custom: #5273e6;
$custom-light: #919aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5273e6",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 230
  },
  "hsl": {
    "h": 226.622,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59143,
    "c": 0.17782,
    "h": 268.5
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#5273E6
secondary
#E6D9AE
accent
#AA0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5273E6

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

Preview Lab → · Contrast checker → · Palette generator →

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