#5274F7#5274F7

#5274F7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.199 H 268.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5274F7
RGBrgb(82, 116, 247)
HSLhsl(228, 91%, 65%)
HSVhsv(228, 67%, 97%)
CMYKcmyk(66.8%, 53%, 0%, 3.1%)
CIE-LABlab(52.95, 29.49, -69.26)
CIE-LCHlch(52.95, 75.28, 293.06°)
OKLaboklab(60.54% -0.0042 -0.1991)
OKLCHoklch(60.54% 0.199 268.8)
XYZxyz(26.5078, 20.9975, 90.6336)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274F7 #F7D552
analogous
#52C7F7 #5274F7 #8252F7
triadic
#5274F7 #F75274 #74F752
tetradic
#5274F7 #F752C7 #F7D552 #52F782
square
#5274F7 #F752C7 #F7D552 #52F782
split-complementary
#5274F7 #F78252 #C7F752
monochromatic
#0930C5 #1845F4 #5274F7 #8CA3FA #C7D2FC

Accessibility & contrast

On white

4.04
#5274F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5274F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274F7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274F7#FFFFFF#000000##000000
##5274F71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1286FC
Deuteranopia (green-blind)
#0077F4
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5274f7;
/* rgb */ color: rgb(82, 116, 247);
/* oklch */ color: oklch(60.5% 0.199 268.8);
Tailwind
colors: {
  custom: {
    50: '#949bfb',
    500: '#5274f7',
    950: '#000000',
  },
}
SCSS
$custom: #5274f7;
$custom-light: #949bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5274f7",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 227.636,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.19918,
    "h": 268.8
  },
  "luminance": 0.21
}

Semantic roles & 50–950 ramp

primary
#5274F7
secondary
#EFE3B6
accent
#B600E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5274F7

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

Preview Lab → · Contrast checker → · Palette generator →

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