#5276CC#5276CC

#5276CC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.1% C 0.139 H 265.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5276CC
RGBrgb(82, 118, 204)
HSLhsl(222, 54%, 56%)
HSVhsv(222, 60%, 80%)
CMYKcmyk(59.8%, 42.2%, 0%, 20%)
CIE-LABlab(50.81, 13.58, -48.50)
CIE-LCHlch(50.81, 50.37, 285.64°)
OKLaboklab(58.06% -0.0115 -0.1381)
OKLCHoklch(58.06% 0.139 265.2)
XYZxyz(20.8535, 19.1086, 59.7044)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276CC #CCA852
analogous
#52B3CC #5276CC #6B52CC
triadic
#5276CC #CC5276 #76CC52
tetradic
#5276CC #CC52B3 #CCA852 #52CC6B
square
#5276CC #CC52B3 #CCA852 #52CC6B
split-complementary
#5276CC #CC6B52 #B3CC52
monochromatic
#25407E #3357AE #5276CC #819BDA #B1C1E8

Accessibility & contrast

On white

4.36
#5276CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5276CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276CC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276CC#FFFFFF#000000##000000
##5276CC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5276cc;
/* rgb */ color: rgb(82, 118, 204);
/* oklch */ color: oklch(58.1% 0.139 265.2);
Tailwind
colors: {
  custom: {
    50: '#8d9ddc',
    500: '#5276cc',
    950: '#000000',
  },
}
SCSS
$custom: #5276cc;
$custom-light: #8d9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5276cc",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 222.295,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58061,
    "c": 0.13855,
    "h": 265.2
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

primary
#5276CC
secondary
#D6C7A4
accent
#B24ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5276CC

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

Preview Lab → · Contrast checker → · Palette generator →

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