#5274EF#5274EF

#5274EF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.189 H 268.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5274EF
RGBrgb(82, 116, 239)
HSLhsl(227, 83%, 63%)
HSVhsv(227, 66%, 94%)
CMYKcmyk(65.7%, 51.5%, 0%, 6.3%)
CIE-LABlab(52.41, 26.75, -65.67)
CIE-LCHlch(52.41, 70.91, 292.16°)
OKLaboklab(59.97% -0.0048 -0.1886)
OKLCHoklch(59.97% 0.189 268.5)
XYZxyz(25.2997, 20.5142, 84.2710)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274EF #EFCD52
analogous
#52C3EF #5274EF #7E52EF
triadic
#5274EF #EF5274 #74EF52
tetradic
#5274EF #EF52C3 #EFCD52 #52EF7E
square
#5274EF #EF52C3 #EFCD52 #52EF7E
split-complementary
#5274EF #EF7E52 #C3EF52
monochromatic
#1135B6 #1A47EA #5274EF #8AA1F4 #C2CEF9

Accessibility & contrast

On white

4.11
#5274EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5274EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274EF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274EF#FFFFFF#000000##000000
##5274EF1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2784F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5274ef;
/* rgb */ color: rgb(82, 116, 239);
/* oklch */ color: oklch(60.0% 0.189 268.5);
Tailwind
colors: {
  custom: {
    50: '#929bf5',
    500: '#5274ef',
    950: '#000000',
  },
}
SCSS
$custom: #5274ef;
$custom-light: #929bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5274ef",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 227.006,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.18863,
    "h": 268.5
  },
  "luminance": 0.20517
}

Semantic roles & 50–950 ramp

primary
#5274EF
secondary
#EBDEB2
accent
#B006DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5274EF

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

Preview Lab → · Contrast checker → · Palette generator →

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