#5273F5#5273F5

#5273F5 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.2% C 0.198 H 269.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5273F5
RGBrgb(82, 115, 245)
HSLhsl(228, 89%, 64%)
HSVhsv(228, 67%, 96%)
CMYKcmyk(66.5%, 53.1%, 0%, 3.9%)
CIE-LABlab(52.56, 29.42, -68.78)
CIE-LCHlch(52.56, 74.81, 293.16°)
OKLaboklab(60.2% -0.0035 -0.1977)
OKLCHoklch(60.2% 0.198 269)
XYZxyz(26.0862, 20.6454, 88.9787)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273F5 #F5D452
analogous
#52C4F5 #5273F5 #8352F5
triadic
#5273F5 #F55273 #73F552
tetradic
#5273F5 #F552C4 #F5D452 #52F583
square
#5273F5 #F552C4 #F5D452 #52F583
split-complementary
#5273F5 #F58352 #C4F552
monochromatic
#0B30C1 #1844F2 #5273F5 #8CA2F8 #C6D1FC

Accessibility & contrast

On white

4.09
#5273F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5273F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273F5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273F5#FFFFFF#000000##000000
##5273F51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1285FA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5273f5;
/* rgb */ color: rgb(82, 115, 245);
/* oklch */ color: oklch(60.2% 0.198 269.0);
Tailwind
colors: {
  custom: {
    50: '#949af9',
    500: '#5273f5',
    950: '#000000',
  },
}
SCSS
$custom: #5273f5;
$custom-light: #949af9;
$custom-dark: #000000;
JSON
{
  "hex": "#5273f5",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 227.853,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60203,
    "c": 0.19775,
    "h": 269
  },
  "luminance": 0.20648
}

Semantic roles & 50–950 ramp

primary
#5273F5
secondary
#EEE2B5
accent
#B700E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5273F5

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

Preview Lab → · Contrast checker → · Palette generator →

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