#5279F2#5279F2

#5279F2 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.187 H 267.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5279F2
RGBrgb(82, 121, 242)
HSLhsl(225, 86%, 64%)
HSVhsv(225, 66%, 95%)
CMYKcmyk(66.1%, 50%, 0%, 5.1%)
CIE-LABlab(53.90, 24.70, -64.95)
CIE-LCHlch(53.90, 69.49, 290.82°)
OKLaboklab(61.15% -0.0089 -0.1864)
OKLCHoklch(61.15% 0.187 267.3)
XYZxyz(26.3385, 21.8769, 86.8218)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5279F2 #F2CB52
analogous
#52C9F2 #5279F2 #7B52F2
triadic
#5279F2 #F25279 #79F252
tetradic
#5279F2 #F252C9 #F2CB52 #52F27B
square
#5279F2 #F252C9 #F2CB52 #52F27B
split-complementary
#5279F2 #F27B52 #C9F252
monochromatic
#0E38BC #194DEE #5279F2 #8BA5F6 #C4D1FB

Accessibility & contrast

On white

3.91
#5279F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5279F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5279F2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5279F2#FFFFFF#000000##000000
##5279F21.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3288F6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5279f2;
/* rgb */ color: rgb(82, 121, 242);
/* oklch */ color: oklch(61.2% 0.187 267.3);
Tailwind
colors: {
  custom: {
    50: '#939ff7',
    500: '#5279f2',
    950: '#000000',
  },
}
SCSS
$custom: #5279f2;
$custom-light: #939ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#5279f2",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 225.375,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61151,
    "c": 0.18659,
    "h": 267.3
  },
  "luminance": 0.21879
}

Semantic roles & 50–950 ramp

primary
#5279F2
secondary
#ECDEB4
accent
#AC03E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5279F2

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

Preview Lab → · Contrast checker → · Palette generator →

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