#5274CB#5274CB

#5274CB is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.6% C 0.140 H 266.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5274CB
RGBrgb(82, 116, 203)
HSLhsl(223, 54%, 56%)
HSVhsv(223, 60%, 80%)
CMYKcmyk(59.6%, 42.9%, 0%, 20.4%)
CIE-LABlab(50.21, 14.47, -48.90)
CIE-LCHlch(50.21, 50.99, 286.49°)
OKLaboklab(57.58% -0.0095 -0.1392)
OKLCHoklch(57.58% 0.14 266.1)
XYZxyz(20.5009, 18.5947, 58.9971)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274CB #CBA952
analogous
#52B1CB #5274CB #6C52CB
triadic
#5274CB #CB5274 #74CB52
tetradic
#5274CB #CB52B1 #CBA952 #52CB6C
square
#5274CB #CB52B1 #CBA952 #52CB6C
split-complementary
#5274CB #CB6C52 #B1CB52
monochromatic
#263E7D #3456AC #5274CB #819AD9 #B0C0E7

Accessibility & contrast

On white

4.45
#5274CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5274CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274CB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274CB#FFFFFF#000000##000000
##5274CB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5274cb;
/* rgb */ color: rgb(82, 116, 203);
/* oklch */ color: oklch(57.6% 0.140 266.1);
Tailwind
colors: {
  custom: {
    50: '#8c9bdb',
    500: '#5274cb',
    950: '#000000',
  },
}
SCSS
$custom: #5274cb;
$custom-light: #8c9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5274cb",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 223.14,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57578,
    "c": 0.13957,
    "h": 266.1
  },
  "luminance": 0.18596
}

Semantic roles & 50–950 ramp

primary
#5274CB
secondary
#D5C7A3
accent
#B44BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5274CB

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

Preview Lab → · Contrast checker → · Palette generator →

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