#5272CE#5272CE

#5272CE is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.3% C 0.146 H 267.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5272CE
RGBrgb(82, 114, 206)
HSLhsl(225, 56%, 56%)
HSVhsv(225, 60%, 81%)
CMYKcmyk(60.2%, 44.7%, 0%, 19.2%)
CIE-LABlab(49.84, 16.72, -51.20)
CIE-LCHlch(49.84, 53.86, 288.09°)
OKLaboklab(57.35% -0.0069 -0.146)
OKLCHoklch(57.35% 0.146 267.3)
XYZxyz(20.6338, 18.2830, 60.8222)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272CE #CEAE52
analogous
#52B0CE #5272CE #7052CE
triadic
#5272CE #CE5272 #72CE52
tetradic
#5272CE #CE52B0 #CEAE52 #52CE70
square
#5272CE #CE52B0 #CEAE52 #52CE70
split-complementary
#5272CE #CE7052 #B0CE52
monochromatic
#253C81 #3253B1 #5272CE #8299DC #B1C0E9

Accessibility & contrast

On white

4.51
#5272CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5272CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5272CE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272CE#FFFFFF#000000##000000
##5272CE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5272ce;
/* rgb */ color: rgb(82, 114, 206);
/* oklch */ color: oklch(57.3% 0.146 267.3);
Tailwind
colors: {
  custom: {
    50: '#8d9add',
    500: '#5272ce',
    950: '#000000',
  },
}
SCSS
$custom: #5272ce;
$custom-light: #8d9add;
$custom-dark: #000000;
JSON
{
  "hex": "#5272ce",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 224.516,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57348,
    "c": 0.1462,
    "h": 267.3
  },
  "luminance": 0.18285
}

Semantic roles & 50–950 ramp

primary
#5272CE
secondary
#D7CAA4
accent
#B849DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5272CE

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

Preview Lab → · Contrast checker → · Palette generator →

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