#5273CB#5273CB

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

Color values

HEX#5273CB
RGBrgb(82, 115, 203)
HSLhsl(224, 54%, 56%)
HSVhsv(224, 60%, 80%)
CMYKcmyk(59.6%, 43.3%, 0%, 20.4%)
CIE-LABlab(49.94, 15.09, -49.33)
CIE-LCHlch(49.94, 51.59, 287.01°)
OKLaboklab(57.37% -0.0085 -0.1405)
OKLCHoklch(57.37% 0.141 266.5)
XYZxyz(20.3862, 18.3654, 58.9589)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273CB #CBAA52
analogous
#52B0CB #5273CB #6D52CB
triadic
#5273CB #CB5273 #73CB52
tetradic
#5273CB #CB52B0 #CBAA52 #52CB6D
square
#5273CB #CB52B0 #CBAA52 #52CB6D
split-complementary
#5273CB #CB6D52 #B0CB52
monochromatic
#263D7D #3455AC #5273CB #8199D9 #B0BFE7

Accessibility & contrast

On white

4.49
#5273CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#5273CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273CB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273CB#FFFFFF#000000##000000
##5273CB1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCE
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5273cb;
/* rgb */ color: rgb(82, 115, 203);
/* oklch */ color: oklch(57.4% 0.141 266.5);
Tailwind
colors: {
  custom: {
    50: '#8c9adb',
    500: '#5273cb',
    950: '#000000',
  },
}
SCSS
$custom: #5273cb;
$custom-light: #8c9adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5273cb",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 223.636,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57368,
    "c": 0.14079,
    "h": 266.5
  },
  "luminance": 0.18367
}

Semantic roles & 50–950 ramp

primary
#5273CB
secondary
#D5C8A3
accent
#B54BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5273CB

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

Preview Lab → · Contrast checker → · Palette generator →

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