#5262D9#5262D9

#5262D9 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.181 H 273.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5262D9
RGBrgb(82, 98, 217)
HSLhsl(233, 64%, 59%)
HSVhsv(233, 62%, 85%)
CMYKcmyk(62.2%, 54.8%, 0%, 14.9%)
CIE-LABlab(46.36, 30.41, -63.06)
CIE-LCHlch(46.36, 70.01, 295.74°)
OKLaboklab(54.94% 0.0099 -0.1811)
OKLCHoklch(54.94% 0.181 273.1)
XYZxyz(20.3676, 15.5373, 67.5578)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262D9 #D9C952
analogous
#52A5D9 #5262D9 #8552D9
triadic
#5262D9 #D95262 #62D952
tetradic
#5262D9 #D952A5 #D9C952 #52D985
square
#5262D9 #D952A5 #D9C952 #52D985
split-complementary
#5262D9 #D98552 #A5D952
monochromatic
#202D91 #2B3DC3 #5262D9 #8490E4 #B6BDEF

Accessibility & contrast

On white

5.11
#5262D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5262D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262D9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262D9#FFFFFF#000000##FFFFFF
##5262D91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#007E94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5262d9;
/* rgb */ color: rgb(82, 98, 217);
/* oklch */ color: oklch(54.9% 0.181 273.1);
Tailwind
colors: {
  custom: {
    50: '#908ee6',
    500: '#5262d9',
    950: '#000000',
  },
}
SCSS
$custom: #5262d9;
$custom-light: #908ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#5262d9",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 232.889,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5494,
    "c": 0.18139,
    "h": 273.1
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#5262D9
secondary
#DED8A9
accent
#D341E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5262D9

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

Preview Lab → · Contrast checker → · Palette generator →

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