#5265F5#5265F5

#5265F5 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.6% C 0.214 H 272.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5265F5
RGBrgb(82, 101, 245)
HSLhsl(233, 89%, 64%)
HSVhsv(233, 67%, 96%)
CMYKcmyk(66.5%, 58.8%, 0%, 3.9%)
CIE-LABlab(49.12, 37.99, -74.36)
CIE-LCHlch(49.12, 83.51, 297.06°)
OKLaboklab(57.63% 0.0078 -0.2143)
OKLCHoklch(57.63% 0.214 272.1)
XYZxyz(24.6092, 17.6915, 88.4864)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265F5 #F5E252
analogous
#52B7F5 #5265F5 #9152F5
triadic
#5265F5 #F55265 #65F552
tetradic
#5265F5 #F552B7 #F5E252 #52F591
square
#5265F5 #F552B7 #F5E252 #52F591
split-complementary
#5265F5 #F59152 #B7F552
monochromatic
#0B20C1 #1832F2 #5265F5 #8C99F8 #C6CCFC

Accessibility & contrast

On white

4.63
#5265F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5265F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5265F5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265F5#FFFFFF#000000##FFFFFF
##5265F51.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#006EF2
Tritanopia (blue-blind)
#0089A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5265f5;
/* rgb */ color: rgb(82, 101, 245);
/* oklch */ color: oklch(57.6% 0.214 272.1);
Tailwind
colors: {
  custom: {
    50: '#9490f9',
    500: '#5265f5',
    950: '#000000',
  },
}
SCSS
$custom: #5265f5;
$custom-light: #9490f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5265f5",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 245
  },
  "hsl": {
    "h": 233.006,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57632,
    "c": 0.21445,
    "h": 272.1
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

primary
#5265F5
secondary
#EEE7B5
accent
#CB00E6
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5265F5

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

Preview Lab → · Contrast checker → · Palette generator →

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