#5259D0#5259D0

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

Color values

HEX#5259D0
RGBrgb(82, 89, 208)
HSLhsl(237, 57%, 57%)
HSVhsv(237, 61%, 82%)
CMYKcmyk(60.6%, 57.2%, 0%, 18.4%)
CIE-LABlab(43.49, 32.98, -62.56)
CIE-LCHlch(43.49, 70.72, 297.79°)
OKLaboklab(52.6% 0.018 -0.1797)
OKLCHoklch(52.6% 0.181 275.7)
XYZxyz(18.4335, 13.4912, 61.2950)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259D0 #D0C952
analogous
#5298D0 #5259D0 #8A52D0
triadic
#5259D0 #D05259 #59D052
tetradic
#5259D0 #D05298 #D0C952 #52D08A
square
#5259D0 #D05298 #D0C952 #52D08A
split-complementary
#5259D0 #D08A52 #98D052
monochromatic
#242984 #3138B4 #5259D0 #8287DD #B2B5EA

Accessibility & contrast

On white

5.68
#5259D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5259D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259D0
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259D0#FFFFFF#000000##FFFFFF
##5259D01.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5259d0;
/* rgb */ color: rgb(82, 89, 208);
/* oklch */ color: oklch(52.6% 0.181 275.7);
Tailwind
colors: {
  custom: {
    50: '#8f88df',
    500: '#5259d0',
    950: '#000000',
  },
}
SCSS
$custom: #5259d0;
$custom-light: #8f88df;
$custom-dark: #000000;
JSON
{
  "hex": "#5259d0",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 208
  },
  "hsl": {
    "h": 236.667,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.526,
    "c": 0.18064,
    "h": 275.7
  },
  "luminance": 0.13493
}

Semantic roles & 50–950 ramp

primary
#5259D0
secondary
#D9D6A5
accent
#D847E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5259D0

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

Preview Lab → · Contrast checker → · Palette generator →

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