#5266D7#5266D7

#5266D7 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.6% C 0.174 H 272.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5266D7
RGBrgb(82, 102, 215)
HSLhsl(231, 62%, 58%)
HSVhsv(231, 62%, 84%)
CMYKcmyk(61.9%, 52.6%, 0%, 15.7%)
CIE-LABlab(47.24, 27.24, -60.51)
CIE-LCHlch(47.24, 66.36, 294.24°)
OKLaboklab(55.55% 0.0061 -0.1735)
OKLCHoklch(55.55% 0.174 272)
XYZxyz(20.4927, 16.2012, 66.3240)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266D7 #D7C352
analogous
#52A9D7 #5266D7 #8052D7
triadic
#5266D7 #D75266 #66D752
tetradic
#5266D7 #D752A9 #D7C352 #52D780
square
#5266D7 #D752A9 #D7C352 #52D780
split-complementary
#5266D7 #D78052 #A9D752
monochromatic
#21318E #2C42C0 #5266D7 #8492E2 #B5BEEE

Accessibility & contrast

On white

4.95
#5266D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5266D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266D7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266D7#FFFFFF#000000##FFFFFF
##5266D71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F76DB
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5266d7;
/* rgb */ color: rgb(82, 102, 215);
/* oklch */ color: oklch(55.6% 0.174 272.0);
Tailwind
colors: {
  custom: {
    50: '#8f91e4',
    500: '#5266d7',
    950: '#000000',
  },
}
SCSS
$custom: #5266d7;
$custom-light: #8f91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5266d7",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 230.977,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.17366,
    "h": 272
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5266D7

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

Preview Lab → · Contrast checker → · Palette generator →

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