#5265BC#5265BC

#5265BC is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.5% C 0.137 H 271.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5265BC
RGBrgb(82, 101, 188)
HSLhsl(229, 44%, 53%)
HSVhsv(229, 56%, 74%)
CMYKcmyk(56.4%, 46.3%, 0%, 26.3%)
CIE-LABlab(45.26, 18.79, -48.16)
CIE-LCHlch(45.26, 51.70, 291.31°)
OKLaboklab(53.51% 0.0043 -0.1373)
OKLCHoklch(53.51% 0.137 271.8)
XYZxyz(17.2075, 14.7308, 49.5038)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265BC #BCA952
analogous
#529ABC #5265BC #7452BC
triadic
#5265BC #BC5265 #65BC52
tetradic
#5265BC #BC529A #BCA952 #52BC74
square
#5265BC #BC529A #BCA952 #52BC74
split-complementary
#5265BC #BC7452 #9ABC52
monochromatic
#29356A #3A4B97 #5265BC #7E8CCD #AAB4DE

Accessibility & contrast

On white

5.32
#5265BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5265BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265BC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265BC#FFFFFF#000000##FFFFFF
##5265BC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#127887
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5265bc;
/* rgb */ color: rgb(82, 101, 188);
/* oklch */ color: oklch(53.5% 0.137 271.8);
Tailwind
colors: {
  custom: {
    50: '#8b90d1',
    500: '#5265bc',
    950: '#000000',
  },
}
SCSS
$custom: #5265bc;
$custom-light: #8b90d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5265bc",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 229.245,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.13733,
    "h": 271.8
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#5265BC
secondary
#CCC49E
accent
#BD54D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82

Preview Lab

Preview with #5265BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5265BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva