#5273BF#5273BF

#5273BF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.6% C 0.124 H 265.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5273BF
RGBrgb(82, 115, 191)
HSLhsl(222, 46%, 54%)
HSVhsv(222, 57%, 75%)
CMYKcmyk(57.1%, 39.8%, 0%, 25.1%)
CIE-LABlab(49.27, 11.07, -43.51)
CIE-LCHlch(49.27, 44.90, 284.27°)
OKLaboklab(56.64% -0.0108 -0.1235)
OKLCHoklch(56.64% 0.124 265)
XYZxyz(19.0112, 17.8154, 51.7170)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273BF #BF9E52
analogous
#52A9BF #5273BF #6752BF
triadic
#5273BF #BF5273 #73BF52
tetradic
#5273BF #BF52A9 #BF9E52 #52BF67
square
#5273BF #BF52A9 #BF9E52 #52BF67
split-complementary
#5273BF #BF6752 #A9BF52
monochromatic
#293E6E #39579B #5273BF #7F97D0 #ABBBE0

Accessibility & contrast

On white

4.60
#5273BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5273BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5273BF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273BF#FFFFFF#000000##FFFFFF
##5273BF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#4571BD
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5273bf;
/* rgb */ color: rgb(82, 115, 191);
/* oklch */ color: oklch(56.6% 0.124 265.0);
Tailwind
colors: {
  custom: {
    50: '#8b9ad3',
    500: '#5273bf',
    950: '#000000',
  },
}
SCSS
$custom: #5273bf;
$custom-light: #8b9ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5273bf",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 221.835,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.12394,
    "h": 265
  },
  "luminance": 0.17817
}

Semantic roles & 50–950 ramp

primary
#5273BF
secondary
#CEC09F
accent
#AE52D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E14
muted
#7D7E82

Preview Lab

Preview with #5273BF

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

Preview Lab → · Contrast checker → · Palette generator →

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