#5258BB#5258BB

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

Color values

HEX#5258BB
RGBrgb(82, 88, 187)
HSLhsl(237, 44%, 53%)
HSVhsv(237, 56%, 73%)
CMYKcmyk(56.1%, 52.9%, 0%, 26.7%)
CIE-LABlab(41.78, 26.65, -53.17)
CIE-LCHlch(41.78, 59.47, 296.62°)
OKLaboklab(50.86% 0.0183 -0.1521)
OKLCHoklch(50.86% 0.153 276.9)
XYZxyz(15.9362, 12.3600, 48.5500)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258BB #BBB552
analogous
#528DBB #5258BB #8052BB
triadic
#5258BB #BB5258 #58BB52
tetradic
#5258BB #BB528D #BBB552 #52BB80
square
#5258BB #BB528D #BBB552 #52BB80
split-complementary
#5258BB #BB8052 #8DBB52
monochromatic
#292D69 #3B4095 #5258BB #7E82CC #AAADDE

Accessibility & contrast

On white

6.05
#5258BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5258BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258BB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258BB#FFFFFF#000000##FFFFFF
##5258BB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BE
Deuteranopia (green-blind)
#065EB9
Tritanopia (blue-blind)
#196F81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5258bb;
/* rgb */ color: rgb(82, 88, 187);
/* oklch */ color: oklch(50.9% 0.153 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b87d0',
    500: '#5258bb',
    950: '#000000',
  },
}
SCSS
$custom: #5258bb;
$custom-light: #8b87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5258bb",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 236.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.15321,
    "h": 276.9
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#5258BB
secondary
#CBC99E
accent
#CC54D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5258BB

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

Preview Lab → · Contrast checker → · Palette generator →

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