#5262DE#5262DE

#5262DE is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.3% C 0.188 H 273.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5262DE
RGBrgb(82, 98, 222)
HSLhsl(233, 68%, 60%)
HSVhsv(233, 63%, 87%)
CMYKcmyk(63.1%, 55.9%, 0%, 12.9%)
CIE-LABlab(46.71, 32.09, -65.34)
CIE-LCHlch(46.71, 72.79, 296.16°)
OKLaboklab(55.31% 0.0101 -0.1878)
OKLCHoklch(55.31% 0.188 273.1)
XYZxyz(21.0278, 15.8013, 71.0349)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262DE #DECE52
analogous
#52A8DE #5262DE #8852DE
triadic
#5262DE #DE5262 #62DE52
tetradic
#5262DE #DE52A8 #DECE52 #52DE88
square
#5262DE #DE52A8 #DECE52 #52DE88
split-complementary
#5262DE #DE8852 #A8DE52
monochromatic
#1D2B99 #273ACC #5262DE #8591E8 #B9BFF2

Accessibility & contrast

On white

5.05
#5262DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5262DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262DE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262DE#FFFFFF#000000##FFFFFF
##5262DE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5262de;
/* rgb */ color: rgb(82, 98, 222);
/* oklch */ color: oklch(55.3% 0.188 273.1);
Tailwind
colors: {
  custom: {
    50: '#908ee9',
    500: '#5262de',
    950: '#000000',
  },
}
SCSS
$custom: #5262de;
$custom-light: #908ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5262de",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 233.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55314,
    "c": 0.18807,
    "h": 273.1
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#5262DE
secondary
#E1DBAB
accent
#D73DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5262DE

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

Preview Lab → · Contrast checker → · Palette generator →

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