#5279CD#5279CD

#5279CD is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.136 H 263.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5279CD
RGBrgb(82, 121, 205)
HSLhsl(221, 55%, 56%)
HSVhsv(221, 60%, 80%)
CMYKcmyk(60%, 41%, 0%, 19.6%)
CIE-LABlab(51.70, 12.07, -47.67)
CIE-LCHlch(51.70, 49.17, 284.21°)
OKLaboklab(58.76% -0.0145 -0.1356)
OKLCHoklch(58.76% 0.136 263.9)
XYZxyz(21.3327, 19.8745, 60.4577)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5279CD #CDA652
analogous
#52B7CD #5279CD #6952CD
triadic
#5279CD #CD5279 #79CD52
tetradic
#5279CD #CD52B7 #CDA652 #52CD69
square
#5279CD #CD52B7 #CDA652 #52CD69
split-complementary
#5279CD #CD6952 #B7CD52
monochromatic
#254280 #335AAF #5279CD #819EDB #B1C3E8

Accessibility & contrast

On white

4.22
#5279CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5279CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5279CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5279CD#FFFFFF#000000##000000
##5279CD1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5279cd;
/* rgb */ color: rgb(82, 121, 205);
/* oklch */ color: oklch(58.8% 0.136 263.9);
Tailwind
colors: {
  custom: {
    50: '#8d9fdd',
    500: '#5279cd',
    950: '#000000',
  },
}
SCSS
$custom: #5279cd;
$custom-light: #8d9fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5279cd",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 220.976,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58758,
    "c": 0.13636,
    "h": 263.9
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#5279CD
secondary
#D7C7A4
accent
#AF49DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5279CD

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

Preview Lab → · Contrast checker → · Palette generator →

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