#5259CD#5259CD

#5259CD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.177 H 275.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5259CD
RGBrgb(82, 89, 205)
HSLhsl(237, 55%, 56%)
HSVhsv(237, 60%, 80%)
CMYKcmyk(60%, 56.6%, 0%, 19.6%)
CIE-LABlab(43.28, 31.98, -61.19)
CIE-LCHlch(43.28, 69.04, 297.60°)
OKLaboklab(52.37% 0.018 -0.1757)
OKLCHoklch(52.37% 0.177 275.8)
XYZxyz(18.0679, 13.3450, 59.3695)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259CD #CDC652
analogous
#5297CD #5259CD #8952CD
triadic
#5259CD #CD5259 #59CD52
tetradic
#5259CD #CD5297 #CDC652 #52CD89
square
#5259CD #CD5297 #CDC652 #52CD89
split-complementary
#5259CD #CD8952 #97CD52
monochromatic
#252A80 #333AAF #5259CD #8187DB #B1B4E8

Accessibility & contrast

On white

5.72
#5259CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5259CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259CD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259CD#FFFFFF#000000##FFFFFF
##5259CD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5259cd;
/* rgb */ color: rgb(82, 89, 205);
/* oklch */ color: oklch(52.4% 0.177 275.8);
Tailwind
colors: {
  custom: {
    50: '#8e88dd',
    500: '#5259cd',
    950: '#000000',
  },
}
SCSS
$custom: #5259cd;
$custom-light: #8e88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5259cd",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 236.585,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52371,
    "c": 0.17661,
    "h": 275.8
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#5259CD
secondary
#D7D4A4
accent
#D649DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5259CD

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

Preview Lab → · Contrast checker → · Palette generator →

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