#5273DB#5273DB

#5273DB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.4% C 0.163 H 267.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5273DB
RGBrgb(82, 115, 219)
HSLhsl(226, 66%, 59%)
HSVhsv(226, 63%, 86%)
CMYKcmyk(62.6%, 47.5%, 0%, 14.1%)
CIE-LABlab(50.88, 20.52, -56.91)
CIE-LCHlch(50.88, 60.49, 289.83°)
OKLaboklab(58.4% -0.006 -0.1628)
OKLCHoklch(58.4% 0.163 267.9)
XYZxyz(22.3922, 19.1678, 69.5238)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273DB #DBBA52
analogous
#52B8DB #5273DB #7652DB
triadic
#5273DB #DB5273 #73DB52
tetradic
#5273DB #DB52B8 #DBBA52 #52DB76
square
#5273DB #DB52B8 #DBBA52 #52DB76
split-complementary
#5273DB #DB7652 #B8DB52
monochromatic
#1F3B94 #294FC6 #5273DB #859CE6 #B7C5F0

Accessibility & contrast

On white

4.34
#5273DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5273DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273DB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273DB#FFFFFF#000000##000000
##5273DB1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80DF
Deuteranopia (green-blind)
#2373D9
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5273db;
/* rgb */ color: rgb(82, 115, 219);
/* oklch */ color: oklch(58.4% 0.163 267.9);
Tailwind
colors: {
  custom: {
    50: '#8f9ae7',
    500: '#5273db',
    950: '#000000',
  },
}
SCSS
$custom: #5273db;
$custom-light: #8f9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5273db",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 225.547,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.1629,
    "h": 267.9
  },
  "luminance": 0.1917
}

Semantic roles & 50–950 ramp

primary
#5273DB
secondary
#DFD2AA
accent
#C03FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5273DB

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

Preview Lab → · Contrast checker → · Palette generator →

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