#5259EB

A color in the Blue, Sky, Navy family

#5259eb is a color in the Blue, Sky, Navy family: RGB(82, 89, 235), HSL(237°, 79%, 62%), CMYK(65%, 62%, 0%, 8%). Closest named color: royalblue. Contrast is 5.27:1 on white and 3.99:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5259eb
RGBrgb(82 89 235)
RGB (legacy)rgb(82, 89, 235)
RGB %rgb(32% 35% 92%)
HSLhsl(237 79% 62%)
HSV / HSBhsv(237, 65%, 92%)
HWBhwb(237 32% 8%)
CMYKcmyk(65%, 62%, 0%, 8%)
CIELAB (D50)lab(44.34 32.96 -76.23)
LCHlch(44.34 83.05 293.38)
OKLaboklab(0.5476 0.0173 -0.2151)
OKLCHoklch(0.5476 0.2158 274.61)
Decimal5396971

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 4.2
Closest web-safe color#6666ff
Hue237°
Saturation (HSL / HSV)79% / 65%
Lightness (HSL)62%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)41% / 38%
Relative luminance (WCAG)0.1494
Red / Green / Blue82 / 89 / 235

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.27:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.99: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 75.6 / -26.1 · As background with white / black text: Lc -81 / 28.5

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: #5259eb;
  --color-brand-oklch: oklch(54.76% 0.2158 274.61);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(82 89 235 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5259eb] text-[#5259eb] border-[#5259eb]">