#5262CE#5262CE

#5262CE is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.166 H 273.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5262CE
RGBrgb(82, 98, 206)
HSLhsl(232, 56%, 56%)
HSVhsv(232, 60%, 81%)
CMYKcmyk(60.2%, 52.4%, 0%, 19.2%)
CIE-LABlab(45.61, 26.70, -57.99)
CIE-LCHlch(45.61, 63.84, 294.73°)
OKLaboklab(54.14% 0.0093 -0.1662)
OKLCHoklch(54.14% 0.166 273.2)
XYZxyz(18.9843, 14.9839, 60.2723)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262CE #CEBE52
analogous
#52A0CE #5262CE #8052CE
triadic
#5262CE #CE5262 #62CE52
tetradic
#5262CE #CE52A0 #CEBE52 #52CE80
square
#5262CE #CE52A0 #CEBE52 #52CE80
split-complementary
#5262CE #CE8052 #A0CE52
monochromatic
#253081 #3242B1 #5262CE #828DDC #B1B9E9

Accessibility & contrast

On white

5.25
#5262CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5262CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262CE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262CE#FFFFFF#000000##FFFFFF
##5262CE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5262ce;
/* rgb */ color: rgb(82, 98, 206);
/* oklch */ color: oklch(54.1% 0.166 273.2);
Tailwind
colors: {
  custom: {
    50: '#8e8ede',
    500: '#5262ce',
    950: '#000000',
  },
}
SCSS
$custom: #5262ce;
$custom-light: #8e8ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5262ce",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 232.258,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.16644,
    "h": 273.2
  },
  "luminance": 0.14985
}

Semantic roles & 50–950 ramp

primary
#5262CE
secondary
#D7D1A4
accent
#CC49DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5262CE

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

Preview Lab → · Contrast checker → · Palette generator →

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