#5276CA#5276CA

#5276CA is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.9% C 0.136 H 265.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5276CA
RGBrgb(82, 118, 202)
HSLhsl(222, 53%, 56%)
HSVhsv(222, 59%, 79%)
CMYKcmyk(59.4%, 41.6%, 0%, 20.8%)
CIE-LABlab(50.70, 12.90, -47.54)
CIE-LCHlch(50.70, 49.26, 285.18°)
OKLaboklab(57.94% -0.0119 -0.1352)
OKLCHoklch(57.94% 0.136 265)
XYZxyz(20.6151, 19.0132, 58.4492)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276CA #CAA652
analogous
#52B2CA #5276CA #6A52CA
triadic
#5276CA #CA5276 #76CA52
tetradic
#5276CA #CA52B2 #CAA652 #52CA6A
square
#5276CA #CA52B2 #CAA652 #52CA6A
split-complementary
#5276CA #CA6A52 #B2CA52
monochromatic
#26407C #3458AB #5276CA #819BD8 #B0C0E7

Accessibility & contrast

On white

4.37
#5276CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5276CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276CA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276CA#FFFFFF#000000##000000
##5276CA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCD
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5276ca;
/* rgb */ color: rgb(82, 118, 202);
/* oklch */ color: oklch(57.9% 0.136 265.0);
Tailwind
colors: {
  custom: {
    50: '#8c9dda',
    500: '#5276ca',
    950: '#000000',
  },
}
SCSS
$custom: #5276ca;
$custom-light: #8c9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5276ca",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 222,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.13576,
    "h": 265
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#5276CA
secondary
#D5C6A3
accent
#B14BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5276CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5276CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva