#5279DF#5279DF

#5279DF is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.161 H 266.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5279DF
RGBrgb(82, 121, 223)
HSLhsl(223, 69%, 60%)
HSVhsv(223, 63%, 87%)
CMYKcmyk(63.2%, 45.7%, 0%, 12.5%)
CIE-LABlab(52.72, 18.18, -56.21)
CIE-LCHlch(52.72, 59.08, 287.93°)
OKLaboklab(59.88% -0.0113 -0.1607)
OKLCHoklch(59.88% 0.161 266)
XYZxyz(23.6317, 20.7942, 72.5660)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5279DF #DFB852
analogous
#52C0DF #5279DF #7152DF
triadic
#5279DF #DF5279 #79DF52
tetradic
#5279DF #DF52C0 #DFB852 #52DF71
square
#5279DF #DF52C0 #DFB852 #52DF71
split-complementary
#5279DF #DF7152 #C0DF52
monochromatic
#1D3F9A #2654CE #5279DF #86A1E9 #B9C9F2

Accessibility & contrast

On white

4.07
#5279DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5279DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5279DF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5279DF#FFFFFF#000000##000000
##5279DF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#2E78DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5279df;
/* rgb */ color: rgb(82, 121, 223);
/* oklch */ color: oklch(59.9% 0.161 266.0);
Tailwind
colors: {
  custom: {
    50: '#8f9fe9',
    500: '#5279df',
    950: '#000000',
  },
}
SCSS
$custom: #5279df;
$custom-light: #8f9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5279df",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 223.404,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.16106,
    "h": 266
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#5279DF
secondary
#E2D3AB
accent
#BB3CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5279DF

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

Preview Lab → · Contrast checker → · Palette generator →

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