#5274BE#5274BE

#5274BE is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.8% C 0.121 H 264.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5274BE
RGBrgb(82, 116, 190)
HSLhsl(221, 45%, 53%)
HSVhsv(221, 57%, 75%)
CMYKcmyk(56.8%, 38.9%, 0%, 25.5%)
CIE-LABlab(49.50, 10.12, -42.58)
CIE-LCHlch(49.50, 43.76, 283.37°)
OKLaboklab(56.8% -0.0121 -0.1207)
OKLCHoklch(56.8% 0.121 264.3)
XYZxyz(19.0162, 18.0008, 51.1776)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274BE #BE9C52
analogous
#52AABE #5274BE #6652BE
triadic
#5274BE #BE5274 #74BE52
tetradic
#5274BE #BE52AA #BE9C52 #52BE66
square
#5274BE #BE52AA #BE9C52 #52BE66
split-complementary
#5274BE #BE6652 #AABE52
monochromatic
#293E6D #3A5899 #5274BE #7E98CF #ABBBDF

Accessibility & contrast

On white

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

On black

4.60
#5274BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274BE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274BE#FFFFFF#000000##000000
##5274BE1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC1
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#028490
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5274be;
/* rgb */ color: rgb(82, 116, 190);
/* oklch */ color: oklch(56.8% 0.121 264.3);
Tailwind
colors: {
  custom: {
    50: '#8b9bd2',
    500: '#5274be',
    950: '#000000',
  },
}
SCSS
$custom: #5274be;
$custom-light: #8b9bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5274be",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 190
  },
  "hsl": {
    "h": 221.111,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56797,
    "c": 0.12134,
    "h": 264.3
  },
  "luminance": 0.18002
}

Semantic roles & 50–950 ramp

primary
#5274BE
secondary
#CDBE9F
accent
#AC53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5274BE

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

Preview Lab → · Contrast checker → · Palette generator →

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