#5259BD#5259BD

#5259BD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.155 H 276.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5259BD
RGBrgb(82, 89, 189)
HSLhsl(236, 45%, 53%)
HSVhsv(236, 57%, 74%)
CMYKcmyk(56.6%, 52.9%, 0%, 25.9%)
CIE-LABlab(42.17, 26.68, -53.71)
CIE-LCHlch(42.17, 59.97, 296.41°)
OKLaboklab(51.19% 0.0174 -0.1537)
OKLCHoklch(51.19% 0.155 276.4)
XYZxyz(16.2344, 12.6116, 49.7130)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259BD #BDB652
analogous
#528EBD #5259BD #8052BD
triadic
#5259BD #BD5259 #59BD52
tetradic
#5259BD #BD528E #BDB652 #52BD80
square
#5259BD #BD528E #BDB652 #52BD80
split-complementary
#5259BD #BD8052 #8EBD52
monochromatic
#292D6C #3A4098 #5259BD #7E84CE #ABAEDF

Accessibility & contrast

On white

5.96
#5259BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5259BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259BD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259BD#FFFFFF#000000##FFFFFF
##5259BD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C1
Deuteranopia (green-blind)
#035FBB
Tritanopia (blue-blind)
#157082
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5259bd;
/* rgb */ color: rgb(82, 89, 189);
/* oklch */ color: oklch(51.2% 0.155 276.4);
Tailwind
colors: {
  custom: {
    50: '#8b87d1',
    500: '#5259bd',
    950: '#000000',
  },
}
SCSS
$custom: #5259bd;
$custom-light: #8b87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5259bd",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 236.075,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.15466,
    "h": 276.4
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#5259BD
secondary
#CCC99E
accent
#CC53D4
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5259BD

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

Preview Lab → · Contrast checker → · Palette generator →

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