#5274BF#5274BF

#5274BF is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.9% C 0.123 H 264.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5274BF
RGBrgb(82, 116, 191)
HSLhsl(221, 46%, 54%)
HSVhsv(221, 57%, 75%)
CMYKcmyk(57.1%, 39.3%, 0%, 25.1%)
CIE-LABlab(49.55, 10.45, -43.07)
CIE-LCHlch(49.55, 44.32, 283.64°)
OKLaboklab(56.86% -0.0119 -0.1222)
OKLCHoklch(56.86% 0.123 264.4)
XYZxyz(19.1258, 18.0447, 51.7552)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274BF #BF9D52
analogous
#52ABBF #5274BF #6652BF
triadic
#5274BF #BF5274 #74BF52
tetradic
#5274BF #BF52AB #BF9D52 #52BF66
square
#5274BF #BF52AB #BF9D52 #52BF66
split-complementary
#5274BF #BF6652 #ABBF52
monochromatic
#293E6E #39589B #5274BF #7F98D0 #ABBCE0

Accessibility & contrast

On white

4.56
#5274BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5274BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274BF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274BF#FFFFFF#000000##000000
##5274BF1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5274bf;
/* rgb */ color: rgb(82, 116, 191);
/* oklch */ color: oklch(56.9% 0.123 264.4);
Tailwind
colors: {
  custom: {
    50: '#8b9bd3',
    500: '#5274bf',
    950: '#000000',
  },
}
SCSS
$custom: #5274bf;
$custom-light: #8b9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5274bf",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 221.284,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.12274,
    "h": 264.4
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#5274BF
secondary
#CEBF9F
accent
#AD52D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E14
muted
#7D7E82

Preview Lab

Preview with #5274BF

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

Preview Lab → · Contrast checker → · Palette generator →

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