#5261BF#5261BF

#5261BF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.147 H 273.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5261BF
RGBrgb(82, 97, 191)
HSLhsl(232, 46%, 54%)
HSVhsv(232, 57%, 75%)
CMYKcmyk(57.1%, 49.2%, 0%, 25.1%)
CIE-LABlab(44.38, 22.30, -51.32)
CIE-LCHlch(44.38, 55.95, 293.49°)
OKLaboklab(52.9% 0.009 -0.1466)
OKLCHoklch(52.9% 0.147 273.5)
XYZxyz(17.1553, 14.1036, 51.0984)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261BF #BFB052
analogous
#5297BF #5261BF #7952BF
triadic
#5261BF #BF5261 #61BF52
tetradic
#5261BF #BF5297 #BFB052 #52BF79
square
#5261BF #BF5297 #BFB052 #52BF79
split-complementary
#5261BF #BF7952 #97BF52
monochromatic
#29326E #39479B #5261BF #7F8AD0 #ABB3E0

Accessibility & contrast

On white

5.50
#5261BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5261BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261BF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261BF#FFFFFF#000000##FFFFFF
##5261BF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#2164BD
Tritanopia (blue-blind)
#0C7687
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5261bf;
/* rgb */ color: rgb(82, 97, 191);
/* oklch */ color: oklch(52.9% 0.147 273.5);
Tailwind
colors: {
  custom: {
    50: '#8b8dd3',
    500: '#5261bf',
    950: '#000000',
  },
}
SCSS
$custom: #5261bf;
$custom-light: #8b8dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5261bf",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 231.743,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.14685,
    "h": 273.5
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#5261BF
secondary
#CEC79F
accent
#C452D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5261BF

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

Preview Lab → · Contrast checker → · Palette generator →

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