#5258CE#5258CE

#5258CE is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.179 H 276.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5258CE
RGBrgb(82, 88, 206)
HSLhsl(237, 56%, 56%)
HSVhsv(237, 60%, 81%)
CMYKcmyk(60.2%, 57.3%, 0%, 19.2%)
CIE-LABlab(43.10, 32.93, -62.04)
CIE-LCHlch(43.10, 70.24, 297.96°)
OKLaboklab(52.26% 0.0189 -0.1782)
OKLCHoklch(52.26% 0.179 276.1)
XYZxyz(18.1064, 13.2281, 59.9797)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258CE #CEC852
analogous
#5296CE #5258CE #8A52CE
triadic
#5258CE #CE5258 #58CE52
tetradic
#5258CE #CE5296 #CEC852 #52CE8A
square
#5258CE #CE5296 #CEC852 #52CE8A
split-complementary
#5258CE #CE8A52 #96CE52
monochromatic
#252981 #3238B1 #5258CE #8286DC #B1B4E9

Accessibility & contrast

On white

5.76
#5258CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5258CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258CE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258CE#FFFFFF#000000##FFFFFF
##5258CE1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5258ce;
/* rgb */ color: rgb(82, 88, 206);
/* oklch */ color: oklch(52.3% 0.179 276.1);
Tailwind
colors: {
  custom: {
    50: '#8e87de',
    500: '#5258ce',
    950: '#000000',
  },
}
SCSS
$custom: #5258ce;
$custom-light: #8e87de;
$custom-dark: #000000;
JSON
{
  "hex": "#5258ce",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 237.097,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.17922,
    "h": 276.1
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#5258CE
secondary
#D7D5A4
accent
#D849DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5258CE

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

Preview Lab → · Contrast checker → · Palette generator →

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