#5275FF#5275FF

#5275FF is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.3% C 0.208 H 268.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5275FF
RGBrgb(82, 117, 255)
HSLhsl(228, 100%, 66%)
HSVhsv(228, 68%, 100%)
CMYKcmyk(67.8%, 54.1%, 0%, 0%)
CIE-LABlab(53.74, 31.62, -72.40)
CIE-LCHlch(53.74, 79.01, 293.59°)
OKLaboklab(61.31% -0.0046 -0.2084)
OKLCHoklch(61.31% 0.208 268.7)
XYZxyz(27.8848, 21.7337, 97.3138)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5275FF #FFDC52
analogous
#52CCFF #5275FF #8552FF
triadic
#5275FF #FF5275 #75FF52
tetradic
#5275FF #FF52CC #FFDC52 #52FF85
square
#5275FF #FF52CC #FFDC52 #52FF85
split-complementary
#5275FF #FF8552 #CCFF52
monochromatic
#002BD7 #1544FF #5275FF #8FA6FF #CCD7FF

Accessibility & contrast

On white

3.93
#5275FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5275FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5275FF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5275FF#FFFFFF#000000##000000
##5275FF1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#0079FC
Tritanopia (blue-blind)
#0096AF
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5275ff;
/* rgb */ color: rgb(82, 117, 255);
/* oklch */ color: oklch(61.3% 0.208 268.7);
Tailwind
colors: {
  custom: {
    50: '#959cff',
    500: '#5275ff',
    950: '#000000',
  },
}
SCSS
$custom: #5275ff;
$custom-light: #959cff;
$custom-dark: #000000;
JSON
{
  "hex": "#5275ff",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 255
  },
  "hsl": {
    "h": 227.861,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.20841,
    "h": 268.7
  },
  "luminance": 0.21736
}

Semantic roles & 50–950 ramp

primary
#5275FF
secondary
#F3E7BA
accent
#B700E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5275FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5275FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva