#5258DA#5258DA

#5258DA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.195 H 275.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5258DA
RGBrgb(82, 88, 218)
HSLhsl(237, 65%, 59%)
HSVhsv(237, 62%, 85%)
CMYKcmyk(62.4%, 59.6%, 0%, 14.5%)
CIE-LABlab(43.99, 36.91, -67.48)
CIE-LCHlch(43.99, 76.91, 298.68°)
OKLaboklab(53.2% 0.0188 -0.1942)
OKLCHoklch(53.2% 0.195 275.5)
XYZxyz(19.6201, 13.8336, 67.9523)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258DA #DAD452
analogous
#529CDA #5258DA #9052DA
triadic
#5258DA #DA5258 #58DA52
tetradic
#5258DA #DA529C #DAD452 #52DA90
square
#5258DA #DA529C #DAD452 #52DA90
split-complementary
#5258DA #DA9052 #9CDA52
monochromatic
#1F2492 #2A31C5 #5258DA #8489E5 #B7B9F0

Accessibility & contrast

On white

5.57
#5258DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5258DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258DA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258DA#FFFFFF#000000##FFFFFF
##5258DA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5258da;
/* rgb */ color: rgb(82, 88, 218);
/* oklch */ color: oklch(53.2% 0.195 275.5);
Tailwind
colors: {
  custom: {
    50: '#9087e6',
    500: '#5258da',
    950: '#000000',
  },
}
SCSS
$custom: #5258da;
$custom-light: #9087e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5258da",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 237.353,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.1951,
    "h": 275.5
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#5258DA
secondary
#DFDCA9
accent
#E040E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5258DA

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

Preview Lab → · Contrast checker → · Palette generator →

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