#5272CC#5272CC

#5272CC is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.2% C 0.143 H 267.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5272CC
RGBrgb(82, 114, 204)
HSLhsl(224, 54%, 56%)
HSVhsv(224, 60%, 80%)
CMYKcmyk(59.8%, 44.1%, 0%, 20%)
CIE-LABlab(49.72, 16.05, -50.25)
CIE-LCHlch(49.72, 52.75, 287.71°)
OKLaboklab(57.22% -0.0073 -0.1432)
OKLCHoklch(57.22% 0.143 267.1)
XYZxyz(20.3924, 18.1864, 59.5507)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272CC #CCAC52
analogous
#52AFCC #5272CC #6F52CC
triadic
#5272CC #CC5272 #72CC52
tetradic
#5272CC #CC52AF #CCAC52 #52CC6F
square
#5272CC #CC52AF #CCAC52 #52CC6F
split-complementary
#5272CC #CC6F52 #AFCC52
monochromatic
#253D7E #3353AE #5272CC #8199DA #B1BFE8

Accessibility & contrast

On white

4.53
#5272CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5272CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5272CC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272CC#FFFFFF#000000##000000
##5272CC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5272cc;
/* rgb */ color: rgb(82, 114, 204);
/* oklch */ color: oklch(57.2% 0.143 267.1);
Tailwind
colors: {
  custom: {
    50: '#8d9adc',
    500: '#5272cc',
    950: '#000000',
  },
}
SCSS
$custom: #5272cc;
$custom-light: #8d9adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5272cc",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 224.262,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.14341,
    "h": 267.1
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#5272CC
secondary
#D6C9A4
accent
#B74ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5272CC

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

Preview Lab → · Contrast checker → · Palette generator →

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