#5279CA#5279CA

#5279CA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.132 H 263.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5279CA
RGBrgb(82, 121, 202)
HSLhsl(221, 53%, 56%)
HSVhsv(221, 59%, 79%)
CMYKcmyk(59.4%, 40.1%, 0%, 20.8%)
CIE-LABlab(51.53, 11.06, -46.22)
CIE-LCHlch(51.53, 47.53, 283.46°)
OKLaboklab(58.58% -0.0151 -0.1313)
OKLCHoklch(58.58% 0.132 263.5)
XYZxyz(20.9740, 19.7311, 58.5689)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5279CA #CAA352
analogous
#52B5CA #5279CA #6752CA
triadic
#5279CA #CA5279 #79CA52
tetradic
#5279CA #CA52B5 #CAA352 #52CA67
square
#5279CA #CA52B5 #CAA352 #52CA67
split-complementary
#5279CA #CA6752 #B5CA52
monochromatic
#26427C #345BAB #5279CA #819DD8 #B0C2E7

Accessibility & contrast

On white

4.25
#5279CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5279CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5279CA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5279CA#FFFFFF#000000##000000
##5279CA1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5279ca;
/* rgb */ color: rgb(82, 121, 202);
/* oklch */ color: oklch(58.6% 0.132 263.5);
Tailwind
colors: {
  custom: {
    50: '#8c9fda',
    500: '#5279ca',
    950: '#000000',
  },
}
SCSS
$custom: #5279ca;
$custom-light: #8c9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5279ca",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 220.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58579,
    "c": 0.1322,
    "h": 263.5
  },
  "luminance": 0.19733
}

Semantic roles & 50–950 ramp

primary
#5279CA
secondary
#D5C5A3
accent
#AD4BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5279CA

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

Preview Lab → · Contrast checker → · Palette generator →

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