#5264BD#5264BD

#5264BD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.4% C 0.140 H 272.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5264BD
RGBrgb(82, 100, 189)
HSLhsl(230, 45%, 53%)
HSVhsv(230, 57%, 74%)
CMYKcmyk(56.6%, 47.1%, 0%, 25.9%)
CIE-LABlab(45.05, 19.75, -49.08)
CIE-LCHlch(45.05, 52.90, 291.92°)
OKLaboklab(53.37% 0.0055 -0.1399)
OKLCHoklch(53.37% 0.14 272.2)
XYZxyz(17.2191, 14.5810, 50.0413)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264BD #BDAB52
analogous
#5299BD #5264BD #7652BD
triadic
#5264BD #BD5264 #64BD52
tetradic
#5264BD #BD5299 #BDAB52 #52BD76
square
#5264BD #BD5299 #BDAB52 #52BD76
split-complementary
#5264BD #BD7652 #99BD52
monochromatic
#29346C #3A4A98 #5264BD #7E8CCE #ABB3DF

Accessibility & contrast

On white

5.36
#5264BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5264BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264BD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264BD#FFFFFF#000000##FFFFFF
##5264BD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FC0
Deuteranopia (green-blind)
#2B66BB
Tritanopia (blue-blind)
#107887
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5264bd;
/* rgb */ color: rgb(82, 100, 189);
/* oklch */ color: oklch(53.4% 0.140 272.2);
Tailwind
colors: {
  custom: {
    50: '#8b8fd1',
    500: '#5264bd',
    950: '#000000',
  },
}
SCSS
$custom: #5264bd;
$custom-light: #8b8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5264bd",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 229.907,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.14006,
    "h": 272.2
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#5264BD
secondary
#CCC59E
accent
#BF53D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82

Preview Lab

Preview with #5264BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5264BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva