#5259CA#5259CA

#5259CA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.173 H 276.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5259CA
RGBrgb(82, 89, 202)
HSLhsl(237, 53%, 56%)
HSVhsv(237, 59%, 79%)
CMYKcmyk(59.4%, 55.9%, 0%, 20.8%)
CIE-LABlab(43.07, 30.99, -59.80)
CIE-LCHlch(43.07, 67.35, 297.39°)
OKLaboklab(52.15% 0.0179 -0.1716)
OKLCHoklch(52.15% 0.173 276)
XYZxyz(17.7093, 13.2015, 57.4806)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259CA #CAC352
analogous
#5295CA #5259CA #8752CA
triadic
#5259CA #CA5259 #59CA52
tetradic
#5259CA #CA5295 #CAC352 #52CA87
square
#5259CA #CA5295 #CAC352 #52CA87
split-complementary
#5259CA #CA8752 #95CA52
monochromatic
#262B7C #343BAB #5259CA #8186D8 #B0B3E7

Accessibility & contrast

On white

5.77
#5259CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5259CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259CA#FFFFFF#000000##FFFFFF
##5259CA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5259ca;
/* rgb */ color: rgb(82, 89, 202);
/* oklch */ color: oklch(52.1% 0.173 276.0);
Tailwind
colors: {
  custom: {
    50: '#8e88db',
    500: '#5259ca',
    950: '#000000',
  },
}
SCSS
$custom: #5259ca;
$custom-light: #8e88db;
$custom-dark: #000000;
JSON
{
  "hex": "#5259ca",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 236.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.17255,
    "h": 276
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#5259CA
secondary
#D5D2A3
accent
#D44BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5259CA

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

Preview Lab → · Contrast checker → · Palette generator →

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