#5262CA#5262CA

#5262CA is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.161 H 273.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5262CA
RGBrgb(82, 98, 202)
HSLhsl(232, 53%, 56%)
HSVhsv(232, 59%, 79%)
CMYKcmyk(59.4%, 51.5%, 0%, 20.8%)
CIE-LABlab(45.35, 25.36, -56.12)
CIE-LCHlch(45.35, 61.58, 294.32°)
OKLaboklab(53.86% 0.009 -0.1607)
OKLCHoklch(53.86% 0.161 273.2)
XYZxyz(18.5045, 14.7920, 57.7457)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262CA #CABA52
analogous
#529ECA #5262CA #7E52CA
triadic
#5262CA #CA5262 #62CA52
tetradic
#5262CA #CA529E #CABA52 #52CA7E
square
#5262CA #CA529E #CABA52 #52CA7E
split-complementary
#5262CA #CA7E52 #9ECA52
monochromatic
#26317C #3444AB #5262CA #818DD8 #B0B7E7

Accessibility & contrast

On white

5.30
#5262CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5262CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262CA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262CA#FFFFFF#000000##FFFFFF
##5262CA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#0566C8
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5262ca;
/* rgb */ color: rgb(82, 98, 202);
/* oklch */ color: oklch(53.9% 0.161 273.2);
Tailwind
colors: {
  custom: {
    50: '#8d8edb',
    500: '#5262ca',
    950: '#000000',
  },
}
SCSS
$custom: #5262ca;
$custom-light: #8d8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5262ca",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 232,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.16093,
    "h": 273.2
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#5262CA
secondary
#D5CEA3
accent
#C94BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5262CA

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

Preview Lab → · Contrast checker → · Palette generator →

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