#5258D2#5258D2

#5258D2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.185 H 275.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5258D2
RGBrgb(82, 88, 210)
HSLhsl(237, 59%, 57%)
HSVhsv(237, 61%, 82%)
CMYKcmyk(61%, 58.1%, 0%, 17.6%)
CIE-LABlab(43.40, 34.26, -63.87)
CIE-LCHlch(43.40, 72.48, 298.21°)
OKLaboklab(52.57% 0.0189 -0.1836)
OKLCHoklch(52.57% 0.185 275.9)
XYZxyz(18.5985, 13.4250, 62.5715)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258D2 #D2CC52
analogous
#5298D2 #5258D2 #8C52D2
triadic
#5258D2 #D25258 #58D252
tetradic
#5258D2 #D25298 #D2CC52 #52D28C
square
#5258D2 #D25298 #D2CC52 #52D28C
split-complementary
#5258D2 #D28C52 #98D252
monochromatic
#232887 #3036B7 #5258D2 #8387DF #B3B6EB

Accessibility & contrast

On white

5.70
#5258D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5258D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258D2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258D2#FFFFFF#000000##FFFFFF
##5258D21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5258d2;
/* rgb */ color: rgb(82, 88, 210);
/* oklch */ color: oklch(52.6% 0.185 275.9);
Tailwind
colors: {
  custom: {
    50: '#8f87e1',
    500: '#5258d2',
    950: '#000000',
  },
}
SCSS
$custom: #5258d2;
$custom-light: #8f87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5258d2",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 237.188,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.18456,
    "h": 275.9
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#5258D2
secondary
#DAD7A6
accent
#DB46E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5258D2

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

Preview Lab → · Contrast checker → · Palette generator →

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