#5267D5#5267D5

#5267D5 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.6% C 0.170 H 271.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5267D5
RGBrgb(82, 103, 213)
HSLhsl(230, 61%, 58%)
HSVhsv(230, 62%, 84%)
CMYKcmyk(61.5%, 51.6%, 0%, 16.5%)
CIE-LABlab(47.36, 25.94, -59.17)
CIE-LCHlch(47.36, 64.61, 293.68°)
OKLaboklab(55.61% 0.005 -0.1696)
OKLCHoklch(55.61% 0.17 271.7)
XYZxyz(20.3362, 16.2967, 65.0118)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267D5 #D5C052
analogous
#52A8D5 #5267D5 #7F52D5
triadic
#5267D5 #D55267 #67D552
tetradic
#5267D5 #D552A8 #D5C052 #52D57F
square
#5267D5 #D552A8 #D5C052 #52D57F
split-complementary
#5267D5 #D57F52 #A8D552
monochromatic
#22338B #2E45BC #5267D5 #8392E1 #B4BEED

Accessibility & contrast

On white

4.93
#5267D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5267D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267D5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267D5#FFFFFF#000000##FFFFFF
##5267D51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2676D9
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#008194
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5267d5;
/* rgb */ color: rgb(82, 103, 213);
/* oklch */ color: oklch(55.6% 0.170 271.7);
Tailwind
colors: {
  custom: {
    50: '#8f92e3',
    500: '#5267d5',
    950: '#000000',
  },
}
SCSS
$custom: #5267d5;
$custom-light: #8f92e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5267d5",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 213
  },
  "hsl": {
    "h": 230.382,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55605,
    "c": 0.16967,
    "h": 271.7
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#5267D5
secondary
#DCD3A7
accent
#CA44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #5267D5

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

Preview Lab → · Contrast checker → · Palette generator →

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