#5268CE#5268CE

#5268CE is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.3% C 0.159 H 271.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5268CE
RGBrgb(82, 104, 206)
HSLhsl(229, 56%, 56%)
HSVhsv(229, 60%, 81%)
CMYKcmyk(60.2%, 49.5%, 0%, 19.2%)
CIE-LABlab(47.17, 22.95, -55.48)
CIE-LCHlch(47.17, 60.04, 292.47°)
OKLaboklab(55.32% 0.0033 -0.1587)
OKLCHoklch(55.32% 0.159 271.2)
XYZxyz(19.5669, 16.1491, 60.4665)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5268CE #CEB852
analogous
#52A6CE #5268CE #7A52CE
triadic
#5268CE #CE5268 #68CE52
tetradic
#5268CE #CE52A6 #CEB852 #52CE7A
square
#5268CE #CE52A6 #CEB852 #52CE7A
split-complementary
#5268CE #CE7A52 #A6CE52
monochromatic
#253581 #3249B1 #5268CE #8292DC #B1BBE9

Accessibility & contrast

On white

4.96
#5268CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5268CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5268CE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5268CE#FFFFFF#000000##FFFFFF
##5268CE1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3276D2
Deuteranopia (green-blind)
#196BCC
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5268ce;
/* rgb */ color: rgb(82, 104, 206);
/* oklch */ color: oklch(55.3% 0.159 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d92de',
    500: '#5268ce',
    950: '#000000',
  },
}
SCSS
$custom: #5268ce;
$custom-light: #8d92de;
$custom-dark: #000000;
JSON
{
  "hex": "#5268ce",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 206
  },
  "hsl": {
    "h": 229.355,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.15876,
    "h": 271.2
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#5268CE
secondary
#D7CEA4
accent
#C449DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #5268CE

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

Preview Lab → · Contrast checker → · Palette generator →

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