#5265E1#5265E1

#5265E1 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.1% C 0.188 H 272.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5265E1
RGBrgb(82, 101, 225)
HSLhsl(232, 70%, 60%)
HSVhsv(232, 64%, 88%)
CMYKcmyk(63.6%, 55.1%, 0%, 11.8%)
CIE-LABlab(47.67, 31.25, -65.48)
CIE-LCHlch(47.67, 72.56, 295.51°)
OKLaboklab(56.1% 0.0075 -0.1882)
OKLCHoklch(56.1% 0.188 272.3)
XYZxyz(21.7194, 16.5356, 73.2667)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265E1 #E1CE52
analogous
#52ACE1 #5265E1 #8652E1
triadic
#5265E1 #E15265 #65E152
tetradic
#5265E1 #E152AC #E1CE52 #52E186
square
#5265E1 #E152AC #E1CE52 #52E186
split-complementary
#5265E1 #E18652 #ACE152
monochromatic
#1B2D9D #243BD1 #5265E1 #8693EA #BAC2F3

Accessibility & contrast

On white

4.88
#5265E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5265E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265E1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265E1#FFFFFF#000000##FFFFFF
##5265E11.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5265e1;
/* rgb */ color: rgb(82, 101, 225);
/* oklch */ color: oklch(56.1% 0.188 272.3);
Tailwind
colors: {
  custom: {
    50: '#9190eb',
    500: '#5265e1',
    950: '#000000',
  },
}
SCSS
$custom: #5265e1;
$custom-light: #9190eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5265e1",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 225
  },
  "hsl": {
    "h": 232.028,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56096,
    "c": 0.18835,
    "h": 272.3
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#5265E1
secondary
#E3DCAC
accent
#B913D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5265E1

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

Preview Lab → · Contrast checker → · Palette generator →

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