#5259DB#5259DB

#5259DB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.5% C 0.195 H 275.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5259DB
RGBrgb(82, 89, 219)
HSLhsl(237, 66%, 59%)
HSVhsv(237, 63%, 86%)
CMYKcmyk(62.6%, 59.4%, 0%, 14.1%)
CIE-LABlab(44.31, 36.63, -67.54)
CIE-LCHlch(44.31, 76.83, 298.47°)
OKLaboklab(53.46% 0.0179 -0.1944)
OKLCHoklch(53.46% 0.195 275.3)
XYZxyz(19.8340, 14.0514, 68.6711)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259DB #DBD452
analogous
#529EDB #5259DB #9052DB
triadic
#5259DB #DB5259 #59DB52
tetradic
#5259DB #DB529E #DBD452 #52DB90
square
#5259DB #DB529E #DBD452 #52DB90
split-complementary
#5259DB #DB9052 #9EDB52
monochromatic
#1F2594 #2931C6 #5259DB #858AE6 #B7BAF0

Accessibility & contrast

On white

5.51
#5259DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5259DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259DB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259DB#FFFFFF#000000##FFFFFF
##5259DB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5259db;
/* rgb */ color: rgb(82, 89, 219);
/* oklch */ color: oklch(53.5% 0.195 275.3);
Tailwind
colors: {
  custom: {
    50: '#9088e7',
    500: '#5259db',
    950: '#000000',
  },
}
SCSS
$custom: #5259db;
$custom-light: #9088e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5259db",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 236.934,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.19519,
    "h": 275.3
  },
  "luminance": 0.14053
}

Semantic roles & 50–950 ramp

primary
#5259DB
secondary
#DFDDAA
accent
#E03FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5259DB

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

Preview Lab → · Contrast checker → · Palette generator →

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