#5267E8#5267E8

#5267E8 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.195 H 271.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5267E8
RGBrgb(82, 103, 232)
HSLhsl(232, 77%, 62%)
HSVhsv(232, 65%, 91%)
CMYKcmyk(64.7%, 55.6%, 0%, 9%)
CIE-LABlab(48.66, 32.38, -67.83)
CIE-LCHlch(48.66, 75.16, 295.52°)
OKLaboklab(56.99% 0.006 -0.1951)
OKLCHoklch(56.99% 0.195 271.8)
XYZxyz(22.8905, 17.3185, 78.4648)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267E8 #E8D352
analogous
#52B2E8 #5267E8 #8852E8
triadic
#5267E8 #E85267 #67E852
tetradic
#5267E8 #E852B2 #E8D352 #52E888
square
#5267E8 #E852B2 #E8D352 #52E888
split-complementary
#5267E8 #E88852 #B2E852
monochromatic
#162BA9 #1E39DF #5267E8 #8896EF #BEC6F6

Accessibility & contrast

On white

4.70
#5267E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5267E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267E8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267E8#FFFFFF#000000##FFFFFF
##5267E81.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00869D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5267e8;
/* rgb */ color: rgb(82, 103, 232);
/* oklch */ color: oklch(57.0% 0.195 271.8);
Tailwind
colors: {
  custom: {
    50: '#9292f0',
    500: '#5267e8',
    950: '#000000',
  },
}
SCSS
$custom: #5267e8;
$custom-light: #9292f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5267e8",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 232
  },
  "hsl": {
    "h": 231.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.19517,
    "h": 271.8
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#5267E8
secondary
#E7DFAF
accent
#BC0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D17
muted
#7E7D85

Preview Lab

Preview with #5267E8

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

Preview Lab → · Contrast checker → · Palette generator →

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