#5259BC#5259BC

#5259BC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.153 H 276.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5259BC
RGBrgb(82, 89, 188)
HSLhsl(236, 44%, 53%)
HSVhsv(236, 56%, 74%)
CMYKcmyk(56.4%, 52.7%, 0%, 26.3%)
CIE-LABlab(42.11, 26.35, -53.23)
CIE-LCHlch(42.11, 59.40, 296.33°)
OKLaboklab(51.12% 0.0173 -0.1523)
OKLCHoklch(51.12% 0.153 276.5)
XYZxyz(16.1262, 12.5683, 49.1434)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259BC #BCB552
analogous
#528EBC #5259BC #8052BC
triadic
#5259BC #BC5259 #59BC52
tetradic
#5259BC #BC528E #BCB552 #52BC80
square
#5259BC #BC528E #BCB552 #52BC80
split-complementary
#5259BC #BC8052 #8EBC52
monochromatic
#292E6A #3A4097 #5259BC #7E83CD #AAAEDE

Accessibility & contrast

On white

5.98
#5259BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5259BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259BC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259BC#FFFFFF#000000##FFFFFF
##5259BC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168BF
Deuteranopia (green-blind)
#085FBA
Tritanopia (blue-blind)
#177082
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5259bc;
/* rgb */ color: rgb(82, 89, 188);
/* oklch */ color: oklch(51.1% 0.153 276.5);
Tailwind
colors: {
  custom: {
    50: '#8b87d1',
    500: '#5259bc',
    950: '#000000',
  },
}
SCSS
$custom: #5259bc;
$custom-light: #8b87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5259bc",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 236.038,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.15326,
    "h": 276.5
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5259BC

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

Preview Lab → · Contrast checker → · Palette generator →

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