#5274BB#5274BB

#5274BB is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.6% C 0.117 H 263.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5274BB
RGBrgb(82, 116, 187)
HSLhsl(221, 44%, 53%)
HSVhsv(221, 56%, 73%)
CMYKcmyk(56.1%, 38%, 0%, 26.7%)
CIE-LABlab(49.34, 9.13, -41.10)
CIE-LCHlch(49.34, 42.10, 282.52°)
OKLaboklab(56.62% -0.0128 -0.1164)
OKLCHoklch(56.62% 0.117 263.7)
XYZxyz(18.6917, 17.8710, 49.4685)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274BB #BB9952
analogous
#52A9BB #5274BB #6452BB
triadic
#5274BB #BB5274 #74BB52
tetradic
#5274BB #BB52A9 #BB9952 #52BB64
square
#5274BB #BB52A9 #BB9952 #52BB64
split-complementary
#5274BB #BB6452 #A9BB52
monochromatic
#293E69 #3B5895 #5274BB #7E97CC #AABBDE

Accessibility & contrast

On white

4.59
#5274BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5274BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5274BB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274BB#FFFFFF#000000##FFFFFF
##5274BB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#577ABE
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#0C848E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5274bb;
/* rgb */ color: rgb(82, 116, 187);
/* oklch */ color: oklch(56.6% 0.117 263.7);
Tailwind
colors: {
  custom: {
    50: '#8a9bd0',
    500: '#5274bb',
    950: '#000000',
  },
}
SCSS
$custom: #5274bb;
$custom-light: #8a9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5274bb",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 220.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.1171,
    "h": 263.7
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

primary
#5274BB
secondary
#CBBC9E
accent
#AA54D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5274BB

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

Preview Lab → · Contrast checker → · Palette generator →

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