#5262E1#5262E1

#5262E1 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.192 H 273.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5262E1
RGBrgb(82, 98, 225)
HSLhsl(233, 70%, 60%)
HSVhsv(233, 64%, 88%)
CMYKcmyk(63.6%, 56.4%, 0%, 11.8%)
CIE-LABlab(46.93, 33.10, -66.69)
CIE-LCHlch(46.93, 74.45, 296.40°)
OKLaboklab(55.54% 0.0101 -0.1918)
OKLCHoklch(55.54% 0.192 273)
XYZxyz(21.4334, 15.9636, 73.1713)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262E1 #E1D152
analogous
#52A9E1 #5262E1 #8A52E1
triadic
#5262E1 #E15262 #62E152
tetradic
#5262E1 #E152A9 #E1D152 #52E18A
square
#5262E1 #E152A9 #E1D152 #52E18A
split-complementary
#5262E1 #E18A52 #A9E152
monochromatic
#1B2A9D #2438D1 #5262E1 #8691EA #BAC1F3

Accessibility & contrast

On white

5.01
#5262E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5262E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262E1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262E1#FFFFFF#000000##FFFFFF
##5262E11.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5262e1;
/* rgb */ color: rgb(82, 98, 225);
/* oklch */ color: oklch(55.5% 0.192 273.0);
Tailwind
colors: {
  custom: {
    50: '#918eeb',
    500: '#5262e1',
    950: '#000000',
  },
}
SCSS
$custom: #5262e1;
$custom-light: #918eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5262e1",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 233.287,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.19205,
    "h": 273
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#5262E1
secondary
#E3DDAC
accent
#BD13D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5262E1

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

Preview Lab → · Contrast checker → · Palette generator →

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