#5268CD#5268CD

#5268CD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.2% C 0.157 H 271.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5268CD
RGBrgb(82, 104, 205)
HSLhsl(229, 55%, 56%)
HSVhsv(229, 60%, 80%)
CMYKcmyk(60%, 49.3%, 0%, 19.6%)
CIE-LABlab(47.11, 22.61, -55.01)
CIE-LCHlch(47.11, 59.47, 292.35°)
OKLaboklab(55.25% 0.0032 -0.1573)
OKLCHoklch(55.25% 0.157 271.2)
XYZxyz(19.4458, 16.1007, 59.8288)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5268CD #CDB752
analogous
#52A6CD #5268CD #7A52CD
triadic
#5268CD #CD5268 #68CD52
tetradic
#5268CD #CD52A6 #CDB752 #52CD7A
square
#5268CD #CD52A6 #CDB752 #52CD7A
split-complementary
#5268CD #CD7A52 #A6CD52
monochromatic
#253580 #3349AF #5268CD #8191DB #B1BBE8

Accessibility & contrast

On white

4.98
#5268CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5268CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5268CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5268CD#FFFFFF#000000##FFFFFF
##5268CD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#1B6BCB
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5268cd;
/* rgb */ color: rgb(82, 104, 205);
/* oklch */ color: oklch(55.2% 0.157 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d92dd',
    500: '#5268cd',
    950: '#000000',
  },
}
SCSS
$custom: #5268cd;
$custom-light: #8d92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5268cd",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 229.268,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.15738,
    "h": 271.2
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5268CD

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

Preview Lab → · Contrast checker → · Palette generator →

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