#5273CA#5273CA

#5273CA is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.3% C 0.139 H 266.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5273CA
RGBrgb(82, 115, 202)
HSLhsl(224, 53%, 56%)
HSVhsv(224, 59%, 79%)
CMYKcmyk(59.4%, 43.1%, 0%, 20.8%)
CIE-LABlab(49.88, 14.75, -48.85)
CIE-LCHlch(49.88, 51.03, 286.80°)
OKLaboklab(57.31% -0.0087 -0.1391)
OKLCHoklch(57.31% 0.139 266.4)
XYZxyz(20.2675, 18.3179, 58.3333)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273CA #CAA952
analogous
#52AFCA #5273CA #6D52CA
triadic
#5273CA #CA5273 #73CA52
tetradic
#5273CA #CA52AF #CAA952 #52CA6D
square
#5273CA #CA52AF #CAA952 #52CA6D
split-complementary
#5273CA #CA6D52 #AFCA52
monochromatic
#263D7C #3455AB #5273CA #8199D8 #B0BFE7

Accessibility & contrast

On white

4.50
#5273CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5273CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273CA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273CA#FFFFFF#000000##000000
##5273CA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCD
Deuteranopia (green-blind)
#3B72C8
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5273ca;
/* rgb */ color: rgb(82, 115, 202);
/* oklch */ color: oklch(57.3% 0.139 266.4);
Tailwind
colors: {
  custom: {
    50: '#8c9ada',
    500: '#5273ca',
    950: '#000000',
  },
}
SCSS
$custom: #5273ca;
$custom-light: #8c9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5273ca",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 223.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.13939,
    "h": 266.4
  },
  "luminance": 0.1832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5273CA

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

Preview Lab → · Contrast checker → · Palette generator →

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