#5266BD#5266BD

#5266BD is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.8% C 0.137 H 271.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5266BD
RGBrgb(82, 102, 189)
HSLhsl(229, 45%, 53%)
HSVhsv(229, 57%, 74%)
CMYKcmyk(56.6%, 46%, 0%, 25.9%)
CIE-LABlab(45.59, 18.49, -48.22)
CIE-LCHlch(45.59, 51.64, 290.99°)
OKLaboklab(53.78% 0.0033 -0.1374)
OKLCHoklch(53.78% 0.137 271.4)
XYZxyz(17.4133, 14.9694, 50.1060)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266BD #BDA952
analogous
#529BBD #5266BD #7352BD
triadic
#5266BD #BD5266 #66BD52
tetradic
#5266BD #BD529B #BDA952 #52BD73
square
#5266BD #BD529B #BDA952 #52BD73
split-complementary
#5266BD #BD7352 #9BBD52
monochromatic
#29356C #3A4B98 #5266BD #7E8DCE #ABB4DF

Accessibility & contrast

On white

5.26
#5266BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5266BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266BD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266BD#FFFFFF#000000##FFFFFF
##5266BD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C0
Deuteranopia (green-blind)
#3068BB
Tritanopia (blue-blind)
#0F7988
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5266bd;
/* rgb */ color: rgb(82, 102, 189);
/* oklch */ color: oklch(53.8% 0.137 271.4);
Tailwind
colors: {
  custom: {
    50: '#8b91d1',
    500: '#5266bd',
    950: '#000000',
  },
}
SCSS
$custom: #5266bd;
$custom-light: #8b91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5266bd",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 228.785,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.13744,
    "h": 271.4
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#5266BD
secondary
#CCC49E
accent
#BC53D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82

Preview Lab

Preview with #5266BD

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

Preview Lab → · Contrast checker → · Palette generator →

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