#5258BD#5258BD

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

Color values

HEX#5258BD
RGBrgb(82, 88, 189)
HSLhsl(237, 45%, 53%)
HSVhsv(237, 57%, 74%)
CMYKcmyk(56.6%, 53.4%, 0%, 25.9%)
CIE-LABlab(41.92, 27.31, -54.12)
CIE-LCHlch(41.92, 60.62, 296.77°)
OKLaboklab(51% 0.0184 -0.1549)
OKLCHoklch(51% 0.156 276.8)
XYZxyz(16.1518, 12.4463, 49.6855)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258BD #BDB752
analogous
#528DBD #5258BD #8252BD
triadic
#5258BD #BD5258 #58BD52
tetradic
#5258BD #BD528D #BDB752 #52BD82
square
#5258BD #BD528D #BDB752 #52BD82
split-complementary
#5258BD #BD8252 #8DBD52
monochromatic
#292D6C #3A3F98 #5258BD #7E83CE #ABAEDF

Accessibility & contrast

On white

6.02
#5258BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5258BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258BD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258BD#FFFFFF#000000##FFFFFF
##5258BD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C1
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#156F82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5258bd;
/* rgb */ color: rgb(82, 88, 189);
/* oklch */ color: oklch(51.0% 0.156 276.8);
Tailwind
colors: {
  custom: {
    50: '#8b87d1',
    500: '#5258bd',
    950: '#000000',
  },
}
SCSS
$custom: #5258bd;
$custom-light: #8b87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5258bd",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 236.636,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51001,
    "c": 0.15599,
    "h": 276.8
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

primary
#5258BD
secondary
#CCCA9E
accent
#CD53D4
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5258BD

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

Preview Lab → · Contrast checker → · Palette generator →

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