#5274CC#5274CC

#5274CC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.6% C 0.141 H 266.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5274CC
RGBrgb(82, 116, 204)
HSLhsl(223, 54%, 56%)
HSVhsv(223, 60%, 80%)
CMYKcmyk(59.8%, 43.1%, 0%, 20%)
CIE-LABlab(50.27, 14.81, -49.38)
CIE-LCHlch(50.27, 51.55, 286.69°)
OKLaboklab(57.64% -0.0094 -0.1406)
OKLCHoklch(57.64% 0.141 266.2)
XYZxyz(20.6204, 18.6425, 59.6267)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274CC #CCAA52
analogous
#52B1CC #5274CC #6D52CC
triadic
#5274CC #CC5274 #74CC52
tetradic
#5274CC #CC52B1 #CCAA52 #52CC6D
square
#5274CC #CC52B1 #CCAA52 #52CC6D
split-complementary
#5274CC #CC6D52 #B1CC52
monochromatic
#253E7E #3355AE #5274CC #819ADA #B1C0E8

Accessibility & contrast

On white

4.44
#5274CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5274CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274CC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274CC#FFFFFF#000000##000000
##5274CC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ECF
Deuteranopia (green-blind)
#3B72CA
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5274cc;
/* rgb */ color: rgb(82, 116, 204);
/* oklch */ color: oklch(57.6% 0.141 266.2);
Tailwind
colors: {
  custom: {
    50: '#8d9bdc',
    500: '#5274cc',
    950: '#000000',
  },
}
SCSS
$custom: #5274cc;
$custom-light: #8d9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5274cc",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 223.279,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5764,
    "c": 0.14096,
    "h": 266.2
  },
  "luminance": 0.18644
}

Semantic roles & 50–950 ramp

primary
#5274CC
secondary
#D6C8A4
accent
#B54ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5274CC

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

Preview Lab → · Contrast checker → · Palette generator →

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