#5260CB#5260CB

#5260CB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.165 H 273.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5260CB
RGBrgb(82, 96, 203)
HSLhsl(233, 54%, 56%)
HSVhsv(233, 60%, 80%)
CMYKcmyk(59.6%, 52.7%, 0%, 20.4%)
CIE-LABlab(44.90, 26.95, -57.41)
CIE-LCHlch(44.90, 63.42, 295.14°)
OKLaboklab(53.54% 0.0111 -0.1645)
OKLCHoklch(53.54% 0.165 273.9)
XYZxyz(18.4385, 14.4699, 58.3097)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5260CB #CBBD52
analogous
#529CCB #5260CB #8052CB
triadic
#5260CB #CB5260 #60CB52
tetradic
#5260CB #CB529C #CBBD52 #52CB80
square
#5260CB #CB529C #CBBD52 #52CB80
split-complementary
#5260CB #CB8052 #9CCB52
monochromatic
#26307D #3442AC #5260CB #818BD9 #B0B6E7

Accessibility & contrast

On white

5.39
#5260CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5260CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5260CB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5260CB#FFFFFF#000000##FFFFFF
##5260CB1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F70CF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5260cb;
/* rgb */ color: rgb(82, 96, 203);
/* oklch */ color: oklch(53.5% 0.165 273.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ddb',
    500: '#5260cb',
    950: '#000000',
  },
}
SCSS
$custom: #5260cb;
$custom-light: #8d8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5260cb",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 233.058,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.16489,
    "h": 273.9
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#5260CB
secondary
#D5D0A3
accent
#CC4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5260CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5260CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva