#5267D8#5267D8

#5267D8 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.8% C 0.174 H 271.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5267D8
RGBrgb(82, 103, 216)
HSLhsl(231, 63%, 58%)
HSVhsv(231, 62%, 85%)
CMYKcmyk(62%, 52.3%, 0%, 15.3%)
CIE-LABlab(47.56, 26.96, -60.56)
CIE-LCHlch(47.56, 66.29, 294.00°)
OKLaboklab(55.82% 0.0052 -0.1737)
OKLCHoklch(55.82% 0.174 271.7)
XYZxyz(20.7205, 16.4505, 67.0358)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267D8 #D8C352
analogous
#52AAD8 #5267D8 #8052D8
triadic
#5267D8 #D85267 #67D852
tetradic
#5267D8 #D852AA #D8C352 #52D880
square
#5267D8 #D852AA #D8C352 #52D880
split-complementary
#5267D8 #D88052 #AAD852
monochromatic
#20328F #2C43C1 #5267D8 #8493E3 #B6BFEF

Accessibility & contrast

On white

4.89
#5267D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5267D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267D8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267D8#FFFFFF#000000##FFFFFF
##5267D81.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2177DC
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5267d8;
/* rgb */ color: rgb(82, 103, 216);
/* oklch */ color: oklch(55.8% 0.174 271.7);
Tailwind
colors: {
  custom: {
    50: '#8f92e5',
    500: '#5267d8',
    950: '#000000',
  },
}
SCSS
$custom: #5267d8;
$custom-light: #8f92e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5267d8",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 216
  },
  "hsl": {
    "h": 230.597,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55818,
    "c": 0.17376,
    "h": 271.7
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#5267D8
secondary
#DDD5A8
accent
#CC42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5267D8

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

Preview Lab → · Contrast checker → · Palette generator →

#5267D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva