#5259FF#5259FF

#5259FF is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.5% C 0.241 H 273.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5259FF
RGBrgb(82, 89, 255)
HSLhsl(238, 100%, 66%)
HSVhsv(238, 68%, 100%)
CMYKcmyk(67.8%, 65.1%, 0%, 0%)
CIE-LABlab(47.18, 48.45, -83.11)
CIE-LCHlch(47.18, 96.20, 300.24°)
OKLaboklab(56.45% 0.0159 -0.24)
OKLCHoklch(56.45% 0.241 273.8)
XYZxyz(25.0960, 16.1562, 96.3843)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259FF #FFF852
analogous
#52AFFF #5259FF #A152FF
triadic
#5259FF #FF5259 #59FF52
tetradic
#5259FF #FF52AF #FFF852 #52FFA1
square
#5259FF #FF52AF #FFF852 #52FFA1
split-complementary
#5259FF #FFA152 #AFFF52
monochromatic
#0009D7 #151EFF #5259FF #8F94FF #CCCEFF

Accessibility & contrast

On white

4.96
#5259FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5259FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259FF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259FF#FFFFFF#000000##FFFFFF
##5259FF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0068FC
Tritanopia (blue-blind)
#0085A4
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5259ff;
/* rgb */ color: rgb(82, 89, 255);
/* oklch */ color: oklch(56.5% 0.241 273.8);
Tailwind
colors: {
  custom: {
    50: '#9788ff',
    500: '#5259ff',
    950: '#000000',
  },
}
SCSS
$custom: #5259ff;
$custom-light: #9788ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5259ff",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 255
  },
  "hsl": {
    "h": 237.572,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.24055,
    "h": 273.8
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#5259FF
secondary
#F3F1BA
accent
#DC00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5259FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5259FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva