#5274B2#5274B2

#5274B2 is a mid, moderate blue. Relative luminance 0.175; OKLCH L 56.1% C 0.104 H 261.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5274B2
RGBrgb(82, 116, 178)
HSLhsl(219, 38%, 51%)
HSVhsv(219, 54%, 70%)
CMYKcmyk(53.9%, 34.8%, 0%, 30.2%)
CIE-LABlab(48.88, 6.18, -36.62)
CIE-LCHlch(48.88, 37.13, 279.58°)
OKLaboklab(56.12% -0.015 -0.1033)
OKLCHoklch(56.12% 0.104 261.7)
XYZxyz(17.7582, 17.4976, 44.5524)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274B2 #B29052
analogous
#52A4B2 #5274B2 #6052B2
triadic
#5274B2 #B25274 #74B252
tetradic
#5274B2 #B252A4 #B29052 #52B260
square
#5274B2 #B252A4 #B29052 #52B260
split-complementary
#5274B2 #B26052 #A4B252
monochromatic
#2A3D5F #3D588A #5274B2 #7C96C5 #A7B8D8

Accessibility & contrast

On white

4.67
#5274B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5274B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5274B2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274B2#FFFFFF#000000##FFFFFF
##5274B21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#1E828B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5274b2;
/* rgb */ color: rgb(82, 116, 178);
/* oklch */ color: oklch(56.1% 0.104 261.7);
Tailwind
colors: {
  custom: {
    50: '#899bc9',
    500: '#5274b2',
    950: '#000000',
  },
}
SCSS
$custom: #5274b2;
$custom-light: #899bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5274b2",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 218.75,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.10442,
    "h": 261.7
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#5274B2
secondary
#C5B69B
accent
#A559CE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5274B2

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

Preview Lab → · Contrast checker → · Palette generator →

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