#5265D4#5265D4

#5265D4 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.1% C 0.171 H 272.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5265D4
RGBrgb(82, 101, 212)
HSLhsl(231, 60%, 58%)
HSVhsv(231, 61%, 83%)
CMYKcmyk(61.3%, 52.4%, 0%, 16.9%)
CIE-LABlab(46.78, 26.85, -59.53)
CIE-LCHlch(46.78, 65.31, 294.28°)
OKLaboklab(55.15% 0.0068 -0.1707)
OKLCHoklch(55.15% 0.171 272.3)
XYZxyz(20.0131, 15.8530, 64.2799)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265D4 #D4C152
analogous
#52A6D4 #5265D4 #8052D4
triadic
#5265D4 #D45265 #65D452
tetradic
#5265D4 #D452A6 #D4C152 #52D480
square
#5265D4 #D452A6 #D4C152 #52D480
split-complementary
#5265D4 #D48052 #A6D452
monochromatic
#223189 #2E43BA #5265D4 #8391E0 #B4BCEC

Accessibility & contrast

On white

5.03
#5265D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5265D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265D4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265D4#FFFFFF#000000##FFFFFF
##5265D41.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2175D8
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5265d4;
/* rgb */ color: rgb(82, 101, 212);
/* oklch */ color: oklch(55.1% 0.171 272.3);
Tailwind
colors: {
  custom: {
    50: '#8f90e2',
    500: '#5265d4',
    950: '#000000',
  },
}
SCSS
$custom: #5265d4;
$custom-light: #8f90e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5265d4",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 212
  },
  "hsl": {
    "h": 231.231,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55147,
    "c": 0.17084,
    "h": 272.3
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#5265D4
secondary
#DBD3A7
accent
#CC44E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5265D4

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

Preview Lab → · Contrast checker → · Palette generator →

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