#5258BC#5258BC

#5258BC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.155 H 276.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5258BC
RGBrgb(82, 88, 188)
HSLhsl(237, 44%, 53%)
HSVhsv(237, 56%, 74%)
CMYKcmyk(56.4%, 53.2%, 0%, 26.3%)
CIE-LABlab(41.85, 26.98, -53.64)
CIE-LCHlch(41.85, 60.05, 296.70°)
OKLaboklab(50.93% 0.0184 -0.1535)
OKLCHoklch(50.93% 0.155 276.8)
XYZxyz(16.0436, 12.4030, 49.1158)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258BC #BCB652
analogous
#528DBC #5258BC #8152BC
triadic
#5258BC #BC5258 #58BC52
tetradic
#5258BC #BC528D #BCB652 #52BC81
square
#5258BC #BC528D #BCB652 #52BC81
split-complementary
#5258BC #BC8152 #8DBC52
monochromatic
#292D6A #3A4097 #5258BC #7E83CD #AAADDE

Accessibility & contrast

On white

6.03
#5258BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5258BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258BC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258BC#FFFFFF#000000##FFFFFF
##5258BC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#015EBA
Tritanopia (blue-blind)
#176F81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5258bc;
/* rgb */ color: rgb(82, 88, 188);
/* oklch */ color: oklch(50.9% 0.155 276.8);
Tailwind
colors: {
  custom: {
    50: '#8b87d1',
    500: '#5258bc',
    950: '#000000',
  },
}
SCSS
$custom: #5258bc;
$custom-light: #8b87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5258bc",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 236.604,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.15461,
    "h": 276.8
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5258BC

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

Preview Lab → · Contrast checker → · Palette generator →

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