#5275E4#5275E4

#5275E4 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.4% C 0.173 H 267.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5275E4
RGBrgb(82, 117, 228)
HSLhsl(226, 73%, 61%)
HSVhsv(226, 64%, 89%)
CMYKcmyk(64%, 48.7%, 0%, 10.6%)
CIE-LABlab(51.97, 22.36, -60.23)
CIE-LCHlch(51.97, 64.25, 290.37°)
OKLaboklab(59.4% -0.0068 -0.1725)
OKLCHoklch(59.4% 0.173 267.7)
XYZxyz(23.8398, 20.1157, 76.0101)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5275E4 #E4C152
analogous
#52BEE4 #5275E4 #7852E4
triadic
#5275E4 #E45275 #75E452
tetradic
#5275E4 #E452BE #E4C152 #52E478
square
#5275E4 #E452BE #E4C152 #52E478
split-complementary
#5275E4 #E47852 #BEE452
monochromatic
#193AA2 #224DD7 #5275E4 #879FEC #BCC9F5

Accessibility & contrast

On white

4.18
#5275E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5275E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5275E4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5275E4#FFFFFF#000000##000000
##5275E41.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E8
Deuteranopia (green-blind)
#1476E2
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5275e4;
/* rgb */ color: rgb(82, 117, 228);
/* oklch */ color: oklch(59.4% 0.173 267.7);
Tailwind
colors: {
  custom: {
    50: '#909ced',
    500: '#5275e4',
    950: '#000000',
  },
}
SCSS
$custom: #5275e4;
$custom-light: #909ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5275e4",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 228
  },
  "hsl": {
    "h": 225.616,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59403,
    "c": 0.17269,
    "h": 267.7
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#5275E4
secondary
#E5D7AD
accent
#A610D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5275E4

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

Preview Lab → · Contrast checker → · Palette generator →

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