#5261EE#5261EE

#5261EE is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.4% C 0.210 H 273.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5261EE
RGBrgb(82, 97, 238)
HSLhsl(234, 82%, 63%)
HSVhsv(234, 66%, 93%)
CMYKcmyk(65.5%, 59.2%, 0%, 6.7%)
CIE-LABlab(47.64, 38.08, -72.85)
CIE-LCHlch(47.64, 82.20, 297.59°)
OKLaboklab(56.37% 0.011 -0.2099)
OKLCHoklch(56.37% 0.21 273)
XYZxyz(23.1818, 16.5142, 82.8382)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261EE #EEDF52
analogous
#52AFEE #5261EE #9152EE
triadic
#5261EE #EE5261 #61EE52
tetradic
#5261EE #EE52AF #EEDF52 #52EE91
square
#5261EE #EE52AF #EEDF52 #52EE91
split-complementary
#5261EE #EE9152 #AFEE52
monochromatic
#1221B4 #1A2EE9 #5261EE #8A94F3 #C1C7F9

Accessibility & contrast

On white

4.88
#5261EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5261EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261EE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261EE#FFFFFF#000000##FFFFFF
##5261EE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#006AEB
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5261ee;
/* rgb */ color: rgb(82, 97, 238);
/* oklch */ color: oklch(56.4% 0.210 273.0);
Tailwind
colors: {
  custom: {
    50: '#938ef5',
    500: '#5261ee',
    950: '#000000',
  },
}
SCSS
$custom: #5261ee;
$custom-light: #938ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5261ee",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 238
  },
  "hsl": {
    "h": 234.231,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.2102,
    "h": 273
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#5261EE
secondary
#EAE5B2
accent
#CA07DE
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5261EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5261EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva