#5276CB#5276CB

#5276CB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.0% C 0.137 H 265.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5276CB
RGBrgb(82, 118, 203)
HSLhsl(222, 54%, 56%)
HSVhsv(222, 60%, 80%)
CMYKcmyk(59.6%, 41.9%, 0%, 20.4%)
CIE-LABlab(50.76, 13.24, -48.02)
CIE-LCHlch(50.76, 49.81, 285.41°)
OKLaboklab(58% -0.0117 -0.1366)
OKLCHoklch(58% 0.137 265.1)
XYZxyz(20.7339, 19.0608, 59.0748)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276CB #CBA752
analogous
#52B2CB #5276CB #6A52CB
triadic
#5276CB #CB5276 #76CB52
tetradic
#5276CB #CB52B2 #CBA752 #52CB6A
square
#5276CB #CB52B2 #CBA752 #52CB6A
split-complementary
#5276CB #CB6A52 #B2CB52
monochromatic
#26407D #3458AC #5276CB #819BD9 #B0C1E7

Accessibility & contrast

On white

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

On black

4.81
#5276CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276CB#FFFFFF#000000##000000
##5276CB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCE
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5276cb;
/* rgb */ color: rgb(82, 118, 203);
/* oklch */ color: oklch(58.0% 0.137 265.1);
Tailwind
colors: {
  custom: {
    50: '#8c9ddb',
    500: '#5276cb',
    950: '#000000',
  },
}
SCSS
$custom: #5276cb;
$custom-light: #8c9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5276cb",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 222.149,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58,
    "c": 0.13715,
    "h": 265.1
  },
  "luminance": 0.19063
}

Semantic roles & 50–950 ramp

primary
#5276CB
secondary
#D5C7A3
accent
#B24BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5276CB

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

Preview Lab → · Contrast checker → · Palette generator →

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