#5267E3#5267E3

#5267E3 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.189 H 271.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5267E3
RGBrgb(82, 103, 227)
HSLhsl(231, 72%, 61%)
HSVhsv(231, 64%, 89%)
CMYKcmyk(63.9%, 54.6%, 0%, 11%)
CIE-LABlab(48.31, 30.69, -65.58)
CIE-LCHlch(48.31, 72.40, 295.08°)
OKLaboklab(56.62% 0.0058 -0.1885)
OKLCHoklch(56.62% 0.189 271.8)
XYZxyz(22.1904, 17.0384, 74.7775)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267E3 #E3CE52
analogous
#52B0E3 #5267E3 #8552E3
triadic
#5267E3 #E35267 #67E352
tetradic
#5267E3 #E352B0 #E3CE52 #52E385
square
#5267E3 #E352B0 #E3CE52 #52E385
split-complementary
#5267E3 #E38552 #B0E352
monochromatic
#1A2DA1 #233CD5 #5267E3 #8795EC #BBC4F4

Accessibility & contrast

On white

4.76
#5267E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5267E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267E3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267E3#FFFFFF#000000##FFFFFF
##5267E31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#00859B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5267e3;
/* rgb */ color: rgb(82, 103, 227);
/* oklch */ color: oklch(56.6% 0.189 271.8);
Tailwind
colors: {
  custom: {
    50: '#9192ed',
    500: '#5267e3',
    950: '#000000',
  },
}
SCSS
$custom: #5267e3;
$custom-light: #9192ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5267e3",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 227
  },
  "hsl": {
    "h": 231.31,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56618,
    "c": 0.18855,
    "h": 271.8
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#5267E3
secondary
#E4DCAD
accent
#B811D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5267E3

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

Preview Lab → · Contrast checker → · Palette generator →

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