#5261CA#5261CA

#5261CA is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.162 H 273.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5261CA
RGBrgb(82, 97, 202)
HSLhsl(233, 53%, 56%)
HSVhsv(233, 59%, 79%)
CMYKcmyk(59.4%, 52%, 0%, 20.8%)
CIE-LABlab(45.09, 25.98, -56.53)
CIE-LCHlch(45.09, 62.22, 294.69°)
OKLaboklab(53.66% 0.01 -0.1619)
OKLCHoklch(53.66% 0.162 273.5)
XYZxyz(18.4115, 14.6061, 57.7147)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261CA #CABB52
analogous
#529DCA #5261CA #7F52CA
triadic
#5261CA #CA5261 #61CA52
tetradic
#5261CA #CA529D #CABB52 #52CA7F
square
#5261CA #CA529D #CABB52 #52CA7F
split-complementary
#5261CA #CA7F52 #9DCA52
monochromatic
#26317C #3443AB #5261CA #818CD8 #B0B7E7

Accessibility & contrast

On white

5.36
#5261CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5261CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261CA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261CA#FFFFFF#000000##FFFFFF
##5261CA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5261ca;
/* rgb */ color: rgb(82, 97, 202);
/* oklch */ color: oklch(53.7% 0.162 273.5);
Tailwind
colors: {
  custom: {
    50: '#8d8ddb',
    500: '#5261ca',
    950: '#000000',
  },
}
SCSS
$custom: #5261ca;
$custom-light: #8d8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5261ca",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 232.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.16222,
    "h": 273.5
  },
  "luminance": 0.14607
}

Semantic roles & 50–950 ramp

primary
#5261CA
secondary
#D5CFA3
accent
#CA4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5261CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5261CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva