#5258DF#5258DF

#5258DF is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.6% C 0.202 H 275.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5258DF
RGBrgb(82, 88, 223)
HSLhsl(237, 69%, 60%)
HSVhsv(237, 63%, 87%)
CMYKcmyk(63.2%, 60.5%, 0%, 12.5%)
CIE-LABlab(44.38, 38.56, -69.70)
CIE-LCHlch(44.38, 79.66, 298.95°)
OKLaboklab(53.6% 0.0187 -0.2007)
OKLCHoklch(53.6% 0.202 275.3)
XYZxyz(20.2843, 14.0993, 71.4502)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258DF #DFD952
analogous
#529EDF #5258DF #9352DF
triadic
#5258DF #DF5258 #58DF52
tetradic
#5258DF #DF529E #DFD952 #52DF93
square
#5258DF #DF529E #DFD952 #52DF93
split-complementary
#5258DF #DF9352 #9EDF52
monochromatic
#1D229A #262DCE #5258DF #868AE9 #B9BCF2

Accessibility & contrast

On white

5.50
#5258DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5258DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258DF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258DF#FFFFFF#000000##FFFFFF
##5258DF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5258df;
/* rgb */ color: rgb(82, 88, 223);
/* oklch */ color: oklch(53.6% 0.202 275.3);
Tailwind
colors: {
  custom: {
    50: '#9187ea',
    500: '#5258df',
    950: '#000000',
  },
}
SCSS
$custom: #5258df;
$custom-light: #9187ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5258df",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 237.447,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.2016,
    "h": 275.3
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#5258DF
secondary
#E2DFAB
accent
#E43CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5258DF

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

Preview Lab → · Contrast checker → · Palette generator →

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