#5266AF#5266AF

#5266AF is a mid, moderate blue. Relative luminance 0.144; OKLCH L 52.9% C 0.117 H 270.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5266AF
RGBrgb(82, 102, 175)
HSLhsl(227, 37%, 50%)
HSVhsv(227, 53%, 69%)
CMYKcmyk(53.1%, 41.7%, 0%, 31.4%)
CIE-LABlab(44.79, 13.87, -41.34)
CIE-LCHlch(44.79, 43.60, 288.54°)
OKLaboklab(52.9% 0.0009 -0.1172)
OKLCHoklch(52.9% 0.117 270.4)
XYZxyz(15.9664, 14.3906, 42.4854)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266AF #AF9B52
analogous
#5294AF #5266AF #6C52AF
triadic
#5266AF #AF5266 #66AF52
tetradic
#5266AF #AF5294 #AF9B52 #52AF6C
square
#5266AF #AF5294 #AF9B52 #52AF6C
split-complementary
#5266AF #AF6C52 #94AF52
monochromatic
#2B355C #3E4D86 #5266AF #7C8BC2 #A6B0D6

Accessibility & contrast

On white

5.41
#5266AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5266AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266AF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266AF#FFFFFF#000000##FFFFFF
##5266AF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#3E66AD
Tritanopia (blue-blind)
#267682
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5266af;
/* rgb */ color: rgb(82, 102, 175);
/* oklch */ color: oklch(52.9% 0.117 270.4);
Tailwind
colors: {
  custom: {
    50: '#8991c7',
    500: '#5266af',
    950: '#000000',
  },
}
SCSS
$custom: #5266af;
$custom-light: #8991c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5266af",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 227.097,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52904,
    "c": 0.11724,
    "h": 270.4
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#5266AF
secondary
#C3BA9A
accent
#B45BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5266AF

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

Preview Lab → · Contrast checker → · Palette generator →

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