#5263D5#5263D5

#5263D5 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.175 H 272.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5263D5
RGBrgb(82, 99, 213)
HSLhsl(232, 61%, 58%)
HSVhsv(232, 62%, 84%)
CMYKcmyk(61.5%, 53.5%, 0%, 16.5%)
CIE-LABlab(46.34, 28.44, -60.82)
CIE-LCHlch(46.34, 67.14, 295.06°)
OKLaboklab(54.84% 0.0088 -0.1745)
OKLCHoklch(54.84% 0.175 272.9)
XYZxyz(19.9478, 15.5200, 64.8823)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5263D5 #D5C452
analogous
#52A4D5 #5263D5 #8352D5
triadic
#5263D5 #D55263 #63D552
tetradic
#5263D5 #D552A4 #D5C452 #52D583
square
#5263D5 #D552A4 #D5C452 #52D583
split-complementary
#5263D5 #D58352 #A4D552
monochromatic
#222F8B #2E40BC #5263D5 #838FE1 #B4BCED

Accessibility & contrast

On white

5.12
#5263D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5263D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5263D5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5263D5#FFFFFF#000000##FFFFFF
##5263D51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1674D9
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5263d5;
/* rgb */ color: rgb(82, 99, 213);
/* oklch */ color: oklch(54.8% 0.175 272.9);
Tailwind
colors: {
  custom: {
    50: '#8f8fe3',
    500: '#5263d5',
    950: '#000000',
  },
}
SCSS
$custom: #5263d5;
$custom-light: #8f8fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#5263d5",
  "rgb": {
    "r": 82,
    "g": 99,
    "b": 213
  },
  "hsl": {
    "h": 232.214,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.17473,
    "h": 272.9
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#5263D5
secondary
#DCD5A7
accent
#CF44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #5263D5

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

Preview Lab → · Contrast checker → · Palette generator →

#5263D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva