#5258E8#5258E8

#5258E8 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.3% C 0.213 H 274.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5258E8
RGBrgb(82, 88, 232)
HSLhsl(238, 77%, 62%)
HSVhsv(238, 65%, 91%)
CMYKcmyk(64.7%, 62.1%, 0%, 9%)
CIE-LABlab(45.08, 41.53, -73.66)
CIE-LCHlch(45.08, 84.56, 299.41°)
OKLaboklab(54.34% 0.0183 -0.2123)
OKLCHoklch(54.34% 0.213 274.9)
XYZxyz(21.5301, 14.5976, 78.0113)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258E8 #E8E252
analogous
#52A3E8 #5258E8 #9752E8
triadic
#5258E8 #E85258 #58E852
tetradic
#5258E8 #E852A3 #E8E252 #52E897
square
#5258E8 #E852A3 #E8E252 #52E897
split-complementary
#5258E8 #E89752 #A3E852
monochromatic
#161CA9 #1E25DF #5258E8 #888CEF #BEC0F6

Accessibility & contrast

On white

5.36
#5258E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5258E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258E8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258E8#FFFFFF#000000##FFFFFF
##5258E81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5258e8;
/* rgb */ color: rgb(82, 88, 232);
/* oklch */ color: oklch(54.3% 0.213 274.9);
Tailwind
colors: {
  custom: {
    50: '#9387f0',
    500: '#5258e8',
    950: '#000000',
  },
}
SCSS
$custom: #5258e8;
$custom-light: #9387f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5258e8",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 237.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.21312,
    "h": 274.9
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#5258E8
secondary
#E7E5AF
accent
#D10DD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #5258E8

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

Preview Lab → · Contrast checker → · Palette generator →

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