#5273DE#5273DE

#5273DE is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.167 H 268.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5273DE
RGBrgb(82, 115, 222)
HSLhsl(226, 68%, 60%)
HSVhsv(226, 63%, 87%)
CMYKcmyk(63.1%, 48.2%, 0%, 12.9%)
CIE-LABlab(51.07, 21.54, -58.30)
CIE-LCHlch(51.07, 62.16, 290.28°)
OKLaboklab(58.6% -0.0057 -0.1669)
OKLCHoklch(58.6% 0.167 268.1)
XYZxyz(22.7907, 19.3272, 71.6226)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273DE #DEBD52
analogous
#52B9DE #5273DE #7752DE
triadic
#5273DE #DE5273 #73DE52
tetradic
#5273DE #DE52B9 #DEBD52 #52DE77
square
#5273DE #DE52B9 #DEBD52 #52DE77
split-complementary
#5273DE #DE7752 #B9DE52
monochromatic
#1D3A99 #274ECC #5273DE #859DE8 #B9C6F2

Accessibility & contrast

On white

4.32
#5273DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5273DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273DE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273DE#FFFFFF#000000##000000
##5273DE1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E2
Deuteranopia (green-blind)
#1D74DC
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5273de;
/* rgb */ color: rgb(82, 115, 222);
/* oklch */ color: oklch(58.6% 0.167 268.1);
Tailwind
colors: {
  custom: {
    50: '#909ae9',
    500: '#5273de',
    950: '#000000',
  },
}
SCSS
$custom: #5273de;
$custom-light: #909ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5273de",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 222
  },
  "hsl": {
    "h": 225.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58598,
    "c": 0.167,
    "h": 268.1
  },
  "luminance": 0.19329
}

Semantic roles & 50–950 ramp

primary
#5273DE
secondary
#E1D4AB
accent
#C23DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5273DE

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

Preview Lab → · Contrast checker → · Palette generator →

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