#5259CF#5259CF

#5259CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.179 H 275.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5259CF
RGBrgb(82, 89, 207)
HSLhsl(237, 57%, 57%)
HSVhsv(237, 60%, 81%)
CMYKcmyk(60.4%, 57%, 0%, 18.8%)
CIE-LABlab(43.42, 32.65, -62.11)
CIE-LCHlch(43.42, 70.16, 297.73°)
OKLaboklab(52.52% 0.018 -0.1784)
OKLCHoklch(52.52% 0.179 275.8)
XYZxyz(18.3109, 13.4422, 60.6491)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259CF #CFC852
analogous
#5298CF #5259CF #8A52CF
triadic
#5259CF #CF5259 #59CF52
tetradic
#5259CF #CF5298 #CFC852 #52CF8A
square
#5259CF #CF5298 #CFC852 #52CF8A
split-complementary
#5259CF #CF8A52 #98CF52
monochromatic
#242982 #3139B2 #5259CF #8287DC #B2B5EA

Accessibility & contrast

On white

5.69
#5259CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5259CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259CF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259CF#FFFFFF#000000##FFFFFF
##5259CF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5259cf;
/* rgb */ color: rgb(82, 89, 207);
/* oklch */ color: oklch(52.5% 0.179 275.8);
Tailwind
colors: {
  custom: {
    50: '#8e88de',
    500: '#5259cf',
    950: '#000000',
  },
}
SCSS
$custom: #5259cf;
$custom-light: #8e88de;
$custom-dark: #000000;
JSON
{
  "hex": "#5259cf",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 236.64,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52523,
    "c": 0.1793,
    "h": 275.8
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#5259CF
secondary
#D8D5A5
accent
#D748E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5259CF

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

Preview Lab → · Contrast checker → · Palette generator →

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