#5266E3#5266E3

#5266E3 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.4% C 0.190 H 272.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5266E3
RGBrgb(82, 102, 227)
HSLhsl(232, 72%, 61%)
HSVhsv(232, 64%, 89%)
CMYKcmyk(63.9%, 55.1%, 0%, 11%)
CIE-LABlab(48.06, 31.31, -65.98)
CIE-LCHlch(48.06, 73.03, 295.38°)
OKLaboklab(56.43% 0.0067 -0.1897)
OKLCHoklch(56.43% 0.19 272)
XYZxyz(22.0915, 16.8407, 74.7445)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266E3 #E3CF52
analogous
#52AEE3 #5266E3 #8652E3
triadic
#5266E3 #E35266 #66E352
tetradic
#5266E3 #E352AE #E3CF52 #52E386
square
#5266E3 #E352AE #E3CF52 #52E386
split-complementary
#5266E3 #E38652 #AEE352
monochromatic
#1A2DA1 #233BD5 #5266E3 #8795EC #BBC3F4

Accessibility & contrast

On white

4.81
#5266E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5266E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266E3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266E3#FFFFFF#000000##FFFFFF
##5266E31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5266e3;
/* rgb */ color: rgb(82, 102, 227);
/* oklch */ color: oklch(56.4% 0.190 272.0);
Tailwind
colors: {
  custom: {
    50: '#9191ed',
    500: '#5266e3',
    950: '#000000',
  },
}
SCSS
$custom: #5266e3;
$custom-light: #9191ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5266e3",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 227
  },
  "hsl": {
    "h": 231.724,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.18978,
    "h": 272
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#5266E3
secondary
#E4DCAD
accent
#B911D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5266E3

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

Preview Lab → · Contrast checker → · Palette generator →

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