#5259D1#5259D1

#5259D1 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.182 H 275.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5259D1
RGBrgb(82, 89, 209)
HSLhsl(237, 58%, 57%)
HSVhsv(237, 61%, 82%)
CMYKcmyk(60.8%, 57.4%, 0%, 18%)
CIE-LABlab(43.57, 33.31, -63.02)
CIE-LCHlch(43.57, 71.28, 297.86°)
OKLaboklab(52.68% 0.018 -0.1811)
OKLCHoklch(52.68% 0.182 275.7)
XYZxyz(18.5569, 13.5406, 61.9449)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259D1 #D1CA52
analogous
#5299D1 #5259D1 #8B52D1
triadic
#5259D1 #D15259 #59D152
tetradic
#5259D1 #D15299 #D1CA52 #52D18B
square
#5259D1 #D15299 #D1CA52 #52D18B
split-complementary
#5259D1 #D18B52 #99D152
monochromatic
#232985 #3038B6 #5259D1 #8287DE #B3B6EB

Accessibility & contrast

On white

5.66
#5259D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5259D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259D1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259D1#FFFFFF#000000##FFFFFF
##5259D11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5259d1;
/* rgb */ color: rgb(82, 89, 209);
/* oklch */ color: oklch(52.7% 0.182 275.7);
Tailwind
colors: {
  custom: {
    50: '#8f88e0',
    500: '#5259d1',
    950: '#000000',
  },
}
SCSS
$custom: #5259d1;
$custom-light: #8f88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5259d1",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 209
  },
  "hsl": {
    "h": 236.693,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.18197,
    "h": 275.7
  },
  "luminance": 0.13542
}

Semantic roles & 50–950 ramp

primary
#5259D1
secondary
#D9D6A6
accent
#D947E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5259D1

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

Preview Lab → · Contrast checker → · Palette generator →

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