#5265D8#5265D8

#5265D8 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.176 H 272.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5265D8
RGBrgb(82, 101, 216)
HSLhsl(231, 63%, 58%)
HSVhsv(231, 62%, 85%)
CMYKcmyk(62%, 53.2%, 0%, 15.3%)
CIE-LABlab(47.05, 28.20, -61.38)
CIE-LCHlch(47.05, 67.55, 294.68°)
OKLaboklab(55.43% 0.0071 -0.1761)
OKLCHoklch(55.43% 0.176 272.3)
XYZxyz(20.5239, 16.0573, 66.9702)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265D8 #D8C552
analogous
#52A8D8 #5265D8 #8252D8
triadic
#5265D8 #D85265 #65D852
tetradic
#5265D8 #D852A8 #D8C552 #52D882
square
#5265D8 #D852A8 #D8C552 #52D882
split-complementary
#5265D8 #D88252 #A8D852
monochromatic
#20308F #2C41C1 #5265D8 #8491E3 #B6BEEF

Accessibility & contrast

On white

4.99
#5265D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5265D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265D8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265D8#FFFFFF#000000##FFFFFF
##5265D81.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1876DC
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5265d8;
/* rgb */ color: rgb(82, 101, 216);
/* oklch */ color: oklch(55.4% 0.176 272.3);
Tailwind
colors: {
  custom: {
    50: '#8f90e5',
    500: '#5265d8',
    950: '#000000',
  },
}
SCSS
$custom: #5265d8;
$custom-light: #8f90e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5265d8",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 216
  },
  "hsl": {
    "h": 231.493,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.17627,
    "h": 272.3
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#5265D8
secondary
#DDD6A8
accent
#CF42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5265D8

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

Preview Lab → · Contrast checker → · Palette generator →

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