#5258E2#5258E2

#5258E2 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.8% C 0.205 H 275.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5258E2
RGBrgb(82, 88, 226)
HSLhsl(238, 71%, 60%)
HSVhsv(238, 64%, 89%)
CMYKcmyk(63.7%, 61.1%, 0%, 11.4%)
CIE-LABlab(44.61, 39.55, -71.03)
CIE-LCHlch(44.61, 81.30, 299.11°)
OKLaboklab(53.85% 0.0186 -0.2046)
OKLCHoklch(53.85% 0.205 275.2)
XYZxyz(20.6924, 14.2625, 73.5993)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258E2 #E2DC52
analogous
#52A0E2 #5258E2 #9452E2
triadic
#5258E2 #E25258 #58E252
tetradic
#5258E2 #E252A0 #E2DC52 #52E294
square
#5258E2 #E252A0 #E2DC52 #52E294
split-complementary
#5258E2 #E29452 #A0E252
monochromatic
#1B209F #232BD3 #5258E2 #868BEB #BBBDF4

Accessibility & contrast

On white

5.45
#5258E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5258E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258E2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258E2#FFFFFF#000000##FFFFFF
##5258E21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5258e2;
/* rgb */ color: rgb(82, 88, 226);
/* oklch */ color: oklch(53.8% 0.205 275.2);
Tailwind
colors: {
  custom: {
    50: '#9287ec',
    500: '#5258e2',
    950: '#000000',
  },
}
SCSS
$custom: #5258e2;
$custom-light: #9287ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5258e2",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 237.5,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.20546,
    "h": 275.2
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#5258E2
secondary
#E3E1AC
accent
#CB12D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5258E2

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

Preview Lab → · Contrast checker → · Palette generator →

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