#5273CC#5273CC

#5273CC is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.4% C 0.142 H 266.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5273CC
RGBrgb(82, 115, 204)
HSLhsl(224, 54%, 56%)
HSVhsv(224, 60%, 80%)
CMYKcmyk(59.8%, 43.6%, 0%, 20%)
CIE-LABlab(49.99, 15.43, -49.81)
CIE-LCHlch(49.99, 52.15, 287.21°)
OKLaboklab(57.43% -0.0083 -0.1419)
OKLCHoklch(57.43% 0.142 266.6)
XYZxyz(20.5058, 18.4132, 59.5885)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273CC #CCAB52
analogous
#52B0CC #5273CC #6E52CC
triadic
#5273CC #CC5273 #73CC52
tetradic
#5273CC #CC52B0 #CCAB52 #52CC6E
square
#5273CC #CC52B0 #CCAB52 #52CC6E
split-complementary
#5273CC #CC6E52 #B0CC52
monochromatic
#253D7E #3354AE #5273CC #8199DA #B1BFE8

Accessibility & contrast

On white

4.48
#5273CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5273CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273CC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273CC#FFFFFF#000000##000000
##5273CC1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#3972CA
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5273cc;
/* rgb */ color: rgb(82, 115, 204);
/* oklch */ color: oklch(57.4% 0.142 266.6);
Tailwind
colors: {
  custom: {
    50: '#8d9adc',
    500: '#5273cc',
    950: '#000000',
  },
}
SCSS
$custom: #5273cc;
$custom-light: #8d9adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5273cc",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 223.77,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.14218,
    "h": 266.6
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#5273CC
secondary
#D6C8A4
accent
#B64ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5273CC

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

Preview Lab → · Contrast checker → · Palette generator →

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