#5265B1#5265B1

#5265B1 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.8% C 0.121 H 271.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5265B1
RGBrgb(82, 101, 177)
HSLhsl(228, 38%, 51%)
HSVhsv(228, 54%, 69%)
CMYKcmyk(53.7%, 42.9%, 0%, 30.6%)
CIE-LABlab(44.62, 15.15, -42.77)
CIE-LCHlch(44.62, 45.38, 289.50°)
OKLaboklab(52.82% 0.0025 -0.1214)
OKLCHoklch(52.82% 0.121 271.2)
XYZxyz(16.0666, 14.2744, 43.4951)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265B1 #B19E52
analogous
#5294B1 #5265B1 #6E52B1
triadic
#5265B1 #B15265 #65B152
tetradic
#5265B1 #B15294 #B19E52 #52B16E
square
#5265B1 #B15294 #B19E52 #52B16E
split-complementary
#5265B1 #B16E52 #94B152
monochromatic
#2A355E #3D4C88 #5265B1 #7C8BC4 #A6B0D7

Accessibility & contrast

On white

5.45
#5265B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5265B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265B1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265B1#FFFFFF#000000##FFFFFF
##5265B11.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456EB4
Deuteranopia (green-blind)
#3A66AF
Tritanopia (blue-blind)
#247582
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5265b1;
/* rgb */ color: rgb(82, 101, 177);
/* oklch */ color: oklch(52.8% 0.121 271.2);
Tailwind
colors: {
  custom: {
    50: '#8990c9',
    500: '#5265b1',
    950: '#000000',
  },
}
SCSS
$custom: #5265b1;
$custom-light: #8990c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5265b1",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 177
  },
  "hsl": {
    "h": 228,
    "s": 37.849,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.12146,
    "h": 271.2
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#5265B1
secondary
#C4BC9A
accent
#B75ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5265B1

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

Preview Lab → · Contrast checker → · Palette generator →

#5265B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva