#5274CF#5274CF

#5274CF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.8% C 0.145 H 266.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5274CF
RGBrgb(82, 116, 207)
HSLhsl(224, 57%, 57%)
HSVhsv(224, 60%, 81%)
CMYKcmyk(60.4%, 44%, 0%, 18.8%)
CIE-LABlab(50.44, 15.82, -50.81)
CIE-LCHlch(50.44, 53.22, 287.30°)
OKLaboklab(57.83% -0.0088 -0.1449)
OKLCHoklch(57.83% 0.145 266.5)
XYZxyz(20.9837, 18.7878, 61.5400)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274CF #CFAD52
analogous
#52B3CF #5274CF #6F52CF
triadic
#5274CF #CF5274 #74CF52
tetradic
#5274CF #CF52B3 #CFAD52 #52CF6F
square
#5274CF #CF52B3 #CFAD52 #52CF6F
split-complementary
#5274CF #CF6F52 #B3CF52
monochromatic
#243E82 #3155B2 #5274CF #829ADC #B2C1EA

Accessibility & contrast

On white

4.41
#5274CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5274CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274CF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274CF#FFFFFF#000000##000000
##5274CF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED2
Deuteranopia (green-blind)
#3873CD
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5274cf;
/* rgb */ color: rgb(82, 116, 207);
/* oklch */ color: oklch(57.8% 0.145 266.5);
Tailwind
colors: {
  custom: {
    50: '#8d9bde',
    500: '#5274cf',
    950: '#000000',
  },
}
SCSS
$custom: #5274cf;
$custom-light: #8d9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5274cf",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 223.68,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57827,
    "c": 0.14514,
    "h": 266.5
  },
  "luminance": 0.1879
}

Semantic roles & 50–950 ramp

primary
#5274CF
secondary
#D8CAA5
accent
#B748E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5274CF

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

Preview Lab → · Contrast checker → · Palette generator →

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