#5274E9#5274E9

#5274E9 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.181 H 268.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5274E9
RGBrgb(82, 116, 233)
HSLhsl(226, 77%, 62%)
HSVhsv(226, 65%, 91%)
CMYKcmyk(64.8%, 50.2%, 0%, 8.6%)
CIE-LABlab(52.02, 24.69, -62.95)
CIE-LCHlch(52.02, 67.62, 291.42°)
OKLaboklab(59.55% -0.0054 -0.1805)
OKLCHoklch(59.55% 0.181 268.3)
XYZxyz(24.4280, 20.1656, 79.6800)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274E9 #E9C752
analogous
#52C0E9 #5274E9 #7C52E9
triadic
#5274E9 #E95274 #74E952
tetradic
#5274E9 #E952C0 #E9C752 #52E97C
square
#5274E9 #E952C0 #E9C752 #52E97C
split-complementary
#5274E9 #E97C52 #C0E952
monochromatic
#1637AB #1D49E1 #5274E9 #88A0F0 #BFCBF7

Accessibility & contrast

On white

4.17
#5274E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5274E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274E9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274E9#FFFFFF#000000##000000
##5274E91.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083ED
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5274e9;
/* rgb */ color: rgb(82, 116, 233);
/* oklch */ color: oklch(59.5% 0.181 268.3);
Tailwind
colors: {
  custom: {
    50: '#919bf1',
    500: '#5274e9',
    950: '#000000',
  },
}
SCSS
$custom: #5274e9;
$custom-light: #919bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5274e9",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 226.49,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.18063,
    "h": 268.3
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#5274E9
secondary
#E7DBAF
accent
#AB0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5274E9

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

Preview Lab → · Contrast checker → · Palette generator →

#5274E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva