#5275E8#5275E8

#5275E8 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.178 H 267.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5275E8
RGBrgb(82, 117, 232)
HSLhsl(226, 77%, 62%)
HSVhsv(226, 65%, 91%)
CMYKcmyk(64.7%, 49.6%, 0%, 9%)
CIE-LABlab(52.22, 23.73, -62.07)
CIE-LCHlch(52.22, 66.45, 290.92°)
OKLaboklab(59.68% -0.0064 -0.178)
OKLCHoklch(59.68% 0.178 267.9)
XYZxyz(24.4015, 20.3404, 78.9684)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5275E8 #E8C552
analogous
#52C0E8 #5275E8 #7A52E8
triadic
#5275E8 #E85275 #75E852
tetradic
#5275E8 #E852C0 #E8C552 #52E87A
square
#5275E8 #E852C0 #E8C552 #52E87A
split-complementary
#5275E8 #E87A52 #C0E852
monochromatic
#1639A9 #1E4BDF #5275E8 #88A0EF #BECBF6

Accessibility & contrast

On white

4.14
#5275E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5275E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5275E8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5275E8#FFFFFF#000000##000000
##5275E81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3484EC
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5275e8;
/* rgb */ color: rgb(82, 117, 232);
/* oklch */ color: oklch(59.7% 0.178 267.9);
Tailwind
colors: {
  custom: {
    50: '#919cf0',
    500: '#5275e8',
    950: '#000000',
  },
}
SCSS
$custom: #5275e8;
$custom-light: #919cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5275e8",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 232
  },
  "hsl": {
    "h": 226,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59675,
    "c": 0.17808,
    "h": 267.9
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#5275E8
secondary
#E7DAAF
accent
#A90DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5275E8

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

Preview Lab → · Contrast checker → · Palette generator →

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