#5258DD#5258DD

#5258DD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.199 H 275.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5258DD
RGBrgb(82, 88, 221)
HSLhsl(237, 67%, 59%)
HSVhsv(237, 63%, 87%)
CMYKcmyk(62.9%, 60.2%, 0%, 13.3%)
CIE-LABlab(44.22, 37.90, -68.82)
CIE-LCHlch(44.22, 78.56, 298.84°)
OKLaboklab(53.44% 0.0187 -0.1981)
OKLCHoklch(53.44% 0.199 275.4)
XYZxyz(20.0163, 13.9921, 70.0385)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258DD #DDD752
analogous
#529EDD #5258DD #9252DD
triadic
#5258DD #DD5258 #58DD52
tetradic
#5258DD #DD529E #DDD752 #52DD92
square
#5258DD #DD529E #DDD752 #52DD92
split-complementary
#5258DD #DD9252 #9EDD52
monochromatic
#1E2397 #282FCA #5258DD #8589E7 #B8BBF1

Accessibility & contrast

On white

5.53
#5258DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5258DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258DD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258DD#FFFFFF#000000##FFFFFF
##5258DD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5258dd;
/* rgb */ color: rgb(82, 88, 221);
/* oklch */ color: oklch(53.4% 0.199 275.4);
Tailwind
colors: {
  custom: {
    50: '#9187e9',
    500: '#5258dd',
    950: '#000000',
  },
}
SCSS
$custom: #5258dd;
$custom-light: #9187e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5258dd",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 237.41,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.199,
    "h": 275.4
  },
  "luminance": 0.13994
}

Semantic roles & 50–950 ramp

primary
#5258DD
secondary
#E0DEAA
accent
#E33EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5258DD

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

Preview Lab → · Contrast checker → · Palette generator →

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