#5274CE#5274CE

#5274CE is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.8% C 0.144 H 266.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5274CE
RGBrgb(82, 116, 206)
HSLhsl(224, 56%, 56%)
HSVhsv(224, 60%, 81%)
CMYKcmyk(60.2%, 43.7%, 0%, 19.2%)
CIE-LABlab(50.38, 15.48, -50.33)
CIE-LCHlch(50.38, 52.66, 287.10°)
OKLaboklab(57.77% -0.009 -0.1435)
OKLCHoklch(57.77% 0.144 266.4)
XYZxyz(20.8618, 18.7391, 60.8982)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274CE #CEAC52
analogous
#52B2CE #5274CE #6E52CE
triadic
#5274CE #CE5274 #74CE52
tetradic
#5274CE #CE52B2 #CEAC52 #52CE6E
square
#5274CE #CE52B2 #CEAC52 #52CE6E
split-complementary
#5274CE #CE6E52 #B2CE52
monochromatic
#253E81 #3255B1 #5274CE #829ADC #B1C1E9

Accessibility & contrast

On white

4.42
#5274CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5274CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274CE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274CE#FFFFFF#000000##000000
##5274CE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5274ce;
/* rgb */ color: rgb(82, 116, 206);
/* oklch */ color: oklch(57.8% 0.144 266.4);
Tailwind
colors: {
  custom: {
    50: '#8d9bdd',
    500: '#5274ce',
    950: '#000000',
  },
}
SCSS
$custom: #5274ce;
$custom-light: #8d9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5274ce",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 223.548,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57765,
    "c": 0.14374,
    "h": 266.4
  },
  "luminance": 0.18741
}

Semantic roles & 50–950 ramp

primary
#5274CE
secondary
#D7C9A4
accent
#B649DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5274CE

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

Preview Lab → · Contrast checker → · Palette generator →

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