#5259AB

A color in the Blue, Sky, Navy family

#5259ab is a color in the Blue, Sky, Navy family: RGB(82, 89, 171), HSL(235°, 35%, 50%), CMYK(52%, 48%, 0%, 33%). Closest named color: slateblue. Contrast is 6.22:1 on white and 3.38:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5259ab
RGBrgb(82 89 171)
RGB (legacy)rgb(82, 89, 171)
RGB %rgb(32% 35% 67%)
HSLhsl(235 35% 50%)
HSV / HSBhsv(235, 52%, 67%)
HWBhwb(235 32% 33%)
CMYKcmyk(52%, 48%, 0%, 33%)
CIELAB (D50)lab(40.42 15.48 -45.73)
LCHlch(40.42 48.28 288.7)
OKLaboklab(0.4996 0.0157 -0.1281)
OKLCHoklch(0.4996 0.129 276.98)
Decimal5396907

Properties

Color ToneBlue, Sky, Navy
Closest named colorslateblue ΔE 6.5
Closest web-safe color#666699
Hue235°
Saturation (HSL / HSV)35% / 52%
Lightness (HSL)50%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)38% / 37%
Relative luminance (WCAG)0.1188
Red / Green / Blue82 / 89 / 171

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.22:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.38:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 80.8 / -21 · As background with white / black text: Lc -86 / 23.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #5259ab;
  --color-brand-oklch: oklch(49.96% 0.129 276.98);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(82 89 171 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5259ab] text-[#5259ab] border-[#5259ab]">