#5259F8#5259F8

#5259F8 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.232 H 274.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5259F8
RGBrgb(82, 89, 248)
HSLhsl(237, 92%, 65%)
HSVhsv(237, 67%, 97%)
CMYKcmyk(66.9%, 64.1%, 0%, 2.7%)
CIE-LABlab(46.60, 46.17, -80.16)
CIE-LCHlch(46.60, 92.51, 299.94°)
OKLaboklab(55.85% 0.0165 -0.2314)
OKLCHoklch(55.85% 0.232 274.1)
XYZxyz(23.9897, 15.7137, 90.5575)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259F8 #F8F152
analogous
#52ACF8 #5259F8 #9E52F8
triadic
#5259F8 #F85259 #59F852
tetradic
#5259F8 #F852AC #F8F152 #52F89E
square
#5259F8 #F852AC #F8F152 #52F89E
split-complementary
#5259F8 #F89E52 #ACF852
monochromatic
#0810C8 #1721F6 #5259F8 #8D91FA #C8CAFD

Accessibility & contrast

On white

5.07
#5259F8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5259F8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259F8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259F8#FFFFFF#000000##FFFFFF
##5259F81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FD
Deuteranopia (green-blind)
#0067F5
Tritanopia (blue-blind)
#0082A1
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5259f8;
/* rgb */ color: rgb(82, 89, 248);
/* oklch */ color: oklch(55.8% 0.232 274.1);
Tailwind
colors: {
  custom: {
    50: '#9688fc',
    500: '#5259f8',
    950: '#000000',
  },
}
SCSS
$custom: #5259f8;
$custom-light: #9688fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5259f8",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 248
  },
  "hsl": {
    "h": 237.47,
    "s": 92.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.23198,
    "h": 274.1
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5259F8

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

Preview Lab → · Contrast checker → · Palette generator →

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