#5266BF#5266BF

#5266BF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.9% C 0.140 H 271.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5266BF
RGBrgb(82, 102, 191)
HSLhsl(229, 46%, 54%)
HSVhsv(229, 57%, 75%)
CMYKcmyk(57.1%, 46.6%, 0%, 25.1%)
CIE-LABlab(45.71, 19.16, -49.18)
CIE-LCHlch(45.71, 52.78, 291.29°)
OKLaboklab(53.91% 0.0036 -0.1402)
OKLCHoklch(53.91% 0.14 271.5)
XYZxyz(17.6319, 15.0568, 51.2572)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266BF #BFAB52
analogous
#529CBF #5266BF #7452BF
triadic
#5266BF #BF5266 #66BF52
tetradic
#5266BF #BF529C #BFAB52 #52BF74
square
#5266BF #BF529C #BFAB52 #52BF74
split-complementary
#5266BF #BF7452 #9CBF52
monochromatic
#29356E #394B9B #5266BF #7F8ED0 #ABB5E0

Accessibility & contrast

On white

5.23
#5266BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5266BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266BF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266BF#FFFFFF#000000##FFFFFF
##5266BF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C2
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#097A89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5266bf;
/* rgb */ color: rgb(82, 102, 191);
/* oklch */ color: oklch(53.9% 0.140 271.5);
Tailwind
colors: {
  custom: {
    50: '#8b91d3',
    500: '#5266bf',
    950: '#000000',
  },
}
SCSS
$custom: #5266bf;
$custom-light: #8b91d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5266bf",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 228.991,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.14029,
    "h": 271.5
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#5266BF
secondary
#CEC59F
accent
#BE52D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #5266BF

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

Preview Lab → · Contrast checker → · Palette generator →

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