#5265E3#5265E3

#5265E3 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.2% C 0.191 H 272.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5265E3
RGBrgb(82, 101, 227)
HSLhsl(232, 72%, 61%)
HSVhsv(232, 64%, 89%)
CMYKcmyk(63.9%, 55.5%, 0%, 11%)
CIE-LABlab(47.81, 31.92, -66.39)
CIE-LCHlch(47.81, 73.66, 295.68°)
OKLaboklab(56.25% 0.0076 -0.1909)
OKLCHoklch(56.25% 0.191 272.3)
XYZxyz(21.9938, 16.6453, 74.7120)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265E3 #E3D052
analogous
#52ADE3 #5265E3 #8752E3
triadic
#5265E3 #E35265 #65E352
tetradic
#5265E3 #E352AD #E3D052 #52E387
square
#5265E3 #E352AD #E3D052 #52E387
split-complementary
#5265E3 #E38752 #ADE352
monochromatic
#1A2CA1 #233AD5 #5265E3 #8794EC #BBC3F4

Accessibility & contrast

On white

4.85
#5265E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5265E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265E3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265E3#FFFFFF#000000##FFFFFF
##5265E31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5265e3;
/* rgb */ color: rgb(82, 101, 227);
/* oklch */ color: oklch(56.2% 0.191 272.3);
Tailwind
colors: {
  custom: {
    50: '#9190ed',
    500: '#5265e3',
    950: '#000000',
  },
}
SCSS
$custom: #5265e3;
$custom-light: #9190ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5265e3",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 227
  },
  "hsl": {
    "h": 232.138,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56245,
    "c": 0.19101,
    "h": 272.3
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#5265E3
secondary
#E4DDAD
accent
#BB11D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5265E3

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

Preview Lab → · Contrast checker → · Palette generator →

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