#5265E8#5265E8

#5265E8 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.6% C 0.198 H 272.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5265E8
RGBrgb(82, 101, 232)
HSLhsl(232, 77%, 62%)
HSVhsv(232, 65%, 91%)
CMYKcmyk(64.7%, 56.5%, 0%, 9%)
CIE-LABlab(48.17, 33.61, -68.63)
CIE-LCHlch(48.17, 76.42, 296.09°)
OKLaboklab(56.62% 0.0077 -0.1974)
OKLCHoklch(56.62% 0.198 272.2)
XYZxyz(22.6940, 16.9254, 78.3993)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265E8 #E8D552
analogous
#52B0E8 #5265E8 #8A52E8
triadic
#5265E8 #E85265 #65E852
tetradic
#5265E8 #E852B0 #E8D552 #52E88A
square
#5265E8 #E852B0 #E8D552 #52E88A
split-complementary
#5265E8 #E88A52 #B0E852
monochromatic
#1629A9 #1E36DF #5265E8 #8895EF #BEC5F6

Accessibility & contrast

On white

4.79
#5265E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5265E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265E8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265E8#FFFFFF#000000##FFFFFF
##5265E81.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5265e8;
/* rgb */ color: rgb(82, 101, 232);
/* oklch */ color: oklch(56.6% 0.198 272.2);
Tailwind
colors: {
  custom: {
    50: '#9290f0',
    500: '#5265e8',
    950: '#000000',
  },
}
SCSS
$custom: #5265e8;
$custom-light: #9290f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5265e8",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 232
  },
  "hsl": {
    "h": 232.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.1976,
    "h": 272.2
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#5265E8
secondary
#E7E0AF
accent
#BF0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5265E8

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

Preview Lab → · Contrast checker → · Palette generator →

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