#5267D7#5267D7

#5267D7 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.7% C 0.172 H 271.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5267D7
RGBrgb(82, 103, 215)
HSLhsl(231, 62%, 58%)
HSVhsv(231, 62%, 84%)
CMYKcmyk(61.9%, 52.1%, 0%, 15.7%)
CIE-LABlab(47.49, 26.62, -60.09)
CIE-LCHlch(47.49, 65.73, 293.89°)
OKLaboklab(55.75% 0.0051 -0.1723)
OKLCHoklch(55.75% 0.172 271.7)
XYZxyz(20.5916, 16.3989, 66.3570)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267D7 #D7C252
analogous
#52A9D7 #5267D7 #7F52D7
triadic
#5267D7 #D75267 #67D752
tetradic
#5267D7 #D752A9 #D7C252 #52D77F
square
#5267D7 #D752A9 #D7C252 #52D77F
split-complementary
#5267D7 #D77F52 #A9D752
monochromatic
#21328E #2C44C0 #5267D7 #8493E2 #B5BEEE

Accessibility & contrast

On white

4.91
#5267D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5267D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267D7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267D7#FFFFFF#000000##FFFFFF
##5267D71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2277DB
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5267d7;
/* rgb */ color: rgb(82, 103, 215);
/* oklch */ color: oklch(55.7% 0.172 271.7);
Tailwind
colors: {
  custom: {
    50: '#8f92e4',
    500: '#5267d7',
    950: '#000000',
  },
}
SCSS
$custom: #5267d7;
$custom-light: #8f92e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5267d7",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 215
  },
  "hsl": {
    "h": 230.526,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55747,
    "c": 0.1724,
    "h": 271.7
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5267D7

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

Preview Lab → · Contrast checker → · Palette generator →

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