#5259D8#5259D8

#5259D8 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.191 H 275.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5259D8
RGBrgb(82, 89, 216)
HSLhsl(237, 63%, 58%)
HSVhsv(237, 62%, 85%)
CMYKcmyk(62%, 58.8%, 0%, 15.3%)
CIE-LABlab(44.08, 35.63, -66.19)
CIE-LCHlch(44.08, 75.17, 298.30°)
OKLaboklab(53.22% 0.018 -0.1904)
OKLCHoklch(53.22% 0.191 275.4)
XYZxyz(19.4427, 13.8949, 66.6098)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259D8 #D8D152
analogous
#529CD8 #5259D8 #8E52D8
triadic
#5259D8 #D85259 #59D852
tetradic
#5259D8 #D8529C #D8D152 #52D88E
square
#5259D8 #D8529C #D8D152 #52D88E
split-complementary
#5259D8 #D88E52 #9CD852
monochromatic
#20268F #2C33C1 #5259D8 #8489E3 #B6B9EF

Accessibility & contrast

On white

5.56
#5259D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5259D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259D8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259D8#FFFFFF#000000##FFFFFF
##5259D81.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5259d8;
/* rgb */ color: rgb(82, 89, 216);
/* oklch */ color: oklch(53.2% 0.191 275.4);
Tailwind
colors: {
  custom: {
    50: '#9088e5',
    500: '#5259d8',
    950: '#000000',
  },
}
SCSS
$custom: #5259d8;
$custom-light: #9088e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5259d8",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 216
  },
  "hsl": {
    "h": 236.866,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.19125,
    "h": 275.4
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#5259D8
secondary
#DDDBA8
accent
#DE42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5259D8

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

Preview Lab → · Contrast checker → · Palette generator →

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