#5265CE#5265CE

#5265CE is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.7% C 0.163 H 272.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5265CE
RGBrgb(82, 101, 206)
HSLhsl(231, 56%, 56%)
HSVhsv(231, 60%, 81%)
CMYKcmyk(60.2%, 51%, 0%, 19.2%)
CIE-LABlab(46.39, 24.83, -56.74)
CIE-LCHlch(46.39, 61.93, 293.63°)
OKLaboklab(54.72% 0.0063 -0.1625)
OKLCHoklch(54.72% 0.163 272.2)
XYZxyz(19.2702, 15.5559, 60.3676)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265CE #CEBB52
analogous
#52A3CE #5265CE #7D52CE
triadic
#5265CE #CE5265 #65CE52
tetradic
#5265CE #CE52A3 #CEBB52 #52CE7D
square
#5265CE #CE52A3 #CEBB52 #52CE7D
split-complementary
#5265CE #CE7D52 #A3CE52
monochromatic
#253381 #3245B1 #5265CE #828FDC #B1BAE9

Accessibility & contrast

On white

5.11
#5265CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5265CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265CE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265CE#FFFFFF#000000##FFFFFF
##5265CE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D2
Deuteranopia (green-blind)
#0869CC
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5265ce;
/* rgb */ color: rgb(82, 101, 206);
/* oklch */ color: oklch(54.7% 0.163 272.2);
Tailwind
colors: {
  custom: {
    50: '#8e90de',
    500: '#5265ce',
    950: '#000000',
  },
}
SCSS
$custom: #5265ce;
$custom-light: #8e90de;
$custom-dark: #000000;
JSON
{
  "hex": "#5265ce",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 230.806,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54723,
    "c": 0.1626,
    "h": 272.2
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#5265CE
secondary
#D7D0A4
accent
#C849DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5265CE

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

Preview Lab → · Contrast checker → · Palette generator →

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