#5258E6#5258E6

#5258E6 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.211 H 275.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5258E6
RGBrgb(82, 88, 230)
HSLhsl(238, 75%, 61%)
HSVhsv(238, 64%, 90%)
CMYKcmyk(64.3%, 61.7%, 0%, 9.8%)
CIE-LABlab(44.92, 40.87, -72.78)
CIE-LCHlch(44.92, 83.47, 299.31°)
OKLaboklab(54.17% 0.0184 -0.2098)
OKLCHoklch(54.17% 0.211 275)
XYZxyz(21.2476, 14.4846, 76.5237)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258E6 #E6E052
analogous
#52A2E6 #5258E6 #9652E6
triadic
#5258E6 #E65258 #58E652
tetradic
#5258E6 #E652A2 #E6E052 #52E696
square
#5258E6 #E652A2 #E6E052 #52E696
split-complementary
#5258E6 #E69652 #A2E652
monochromatic
#181EA6 #2027DB #5258E6 #878CEE #BDBFF5

Accessibility & contrast

On white

5.39
#5258E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5258E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258E6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258E6#FFFFFF#000000##FFFFFF
##5258E61.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5258e6;
/* rgb */ color: rgb(82, 88, 230);
/* oklch */ color: oklch(54.2% 0.211 275.0);
Tailwind
colors: {
  custom: {
    50: '#9287ef',
    500: '#5258e6',
    950: '#000000',
  },
}
SCSS
$custom: #5258e6;
$custom-light: #9287ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5258e6",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 237.568,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54174,
    "c": 0.21058,
    "h": 275
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#5258E6
secondary
#E6E3AE
accent
#CF0FD7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #5258E6

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

Preview Lab → · Contrast checker → · Palette generator →

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