#5272DD#5272DD

#5272DD is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.167 H 268.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5272DD
RGBrgb(82, 114, 221)
HSLhsl(226, 67%, 59%)
HSVhsv(226, 63%, 87%)
CMYKcmyk(62.9%, 48.4%, 0%, 13.3%)
CIE-LABlab(50.74, 21.82, -58.26)
CIE-LCHlch(50.74, 62.22, 290.53°)
OKLaboklab(58.33% -0.0048 -0.1668)
OKLCHoklch(58.33% 0.167 268.3)
XYZxyz(22.5437, 19.0469, 70.8810)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272DD #DDBD52
analogous
#52B8DD #5272DD #7852DD
triadic
#5272DD #DD5272 #72DD52
tetradic
#5272DD #DD52B8 #DDBD52 #52DD78
square
#5272DD #DD52B8 #DDBD52 #52DD78
split-complementary
#5272DD #DD7852 #B8DD52
monochromatic
#1E3A97 #284DCA #5272DD #859CE7 #B8C5F1

Accessibility & contrast

On white

4.37
#5272DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5272DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5272DD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272DD#FFFFFF#000000##000000
##5272DD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE1
Deuteranopia (green-blind)
#1B73DB
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5272dd;
/* rgb */ color: rgb(82, 114, 221);
/* oklch */ color: oklch(58.3% 0.167 268.3);
Tailwind
colors: {
  custom: {
    50: '#8f9ae8',
    500: '#5272dd',
    950: '#000000',
  },
}
SCSS
$custom: #5272dd;
$custom-light: #8f9ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5272dd",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 226.187,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.16686,
    "h": 268.3
  },
  "luminance": 0.19049
}

Semantic roles & 50–950 ramp

primary
#5272DD
secondary
#E0D4AA
accent
#C23EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5272DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5272DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva