#5279CE#5279CE

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

Color values

HEX#5279CE
RGBrgb(82, 121, 206)
HSLhsl(221, 56%, 56%)
HSVhsv(221, 60%, 81%)
CMYKcmyk(60.2%, 41.3%, 0%, 19.2%)
CIE-LABlab(51.75, 12.41, -48.15)
CIE-LCHlch(51.75, 49.72, 284.45°)
OKLaboklab(58.82% -0.0143 -0.137)
OKLCHoklch(58.82% 0.138 264.1)
XYZxyz(21.4538, 19.9230, 61.0955)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5279CE #CEA752
analogous
#52B7CE #5279CE #6952CE
triadic
#5279CE #CE5279 #79CE52
tetradic
#5279CE #CE52B7 #CEA752 #52CE69
square
#5279CE #CE52B7 #CEA752 #52CE69
split-complementary
#5279CE #CE6952 #B7CE52
monochromatic
#254281 #325AB1 #5279CE #829EDC #B1C3E9

Accessibility & contrast

On white

4.21
#5279CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5279CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5279CE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5279CE#FFFFFF#000000##000000
##5279CE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D1
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5279ce;
/* rgb */ color: rgb(82, 121, 206);
/* oklch */ color: oklch(58.8% 0.138 264.1);
Tailwind
colors: {
  custom: {
    50: '#8d9fdd',
    500: '#5279ce',
    950: '#000000',
  },
}
SCSS
$custom: #5279ce;
$custom-light: #8d9fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5279ce",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 221.129,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.13774,
    "h": 264.1
  },
  "luminance": 0.19925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5279CE

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

Preview Lab → · Contrast checker → · Palette generator →

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