#5259AA

A color in the Blue, Sky, Navy family

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

Open in Picker Generate Scheme

Color Codes

HEX#5259aa
RGBrgb(82 89 170)
RGB (legacy)rgb(82, 89, 170)
RGB %rgb(32% 35% 67%)
HSLhsl(235 35% 49%)
HSV / HSBhsv(235, 52%, 67%)
HWBhwb(235 32% 33%)
CMYKcmyk(52%, 48%, 0%, 33%)
CIELAB (D50)lab(40.37 15.22 -45.23)
LCHlch(40.37 47.72 288.6)
OKLaboklab(0.4989 0.0156 -0.1266)
OKLCHoklch(0.4989 0.1276 277)
Decimal5396906

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.23:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.37: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.9 / -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: #5259aa;
  --color-brand-oklch: oklch(49.89% 0.1276 277);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(82 89 170 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5259aa] text-[#5259aa] border-[#5259aa]">