#5259FE

A color in the Blue, Sky, Navy family

#5259fe is a color in the Blue, Sky, Navy family: RGB(82, 89, 254), HSL(238°, 99%, 66%), CMYK(68%, 65%, 0%, 0%). Closest named color: royalblue. Contrast is 4.98:1 on white and 4.22:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5259fe
RGBrgb(82 89 254)
RGB (legacy)rgb(82, 89, 254)
RGB %rgb(32% 35% 100%)
HSLhsl(238 99% 66%)
HSV / HSBhsv(238, 68%, 100%)
HWBhwb(238 32% 0%)
CMYKcmyk(68%, 65%, 0%, 0%)
CIELAB (D50)lab(45.7 38.22 -84.62)
LCHlch(45.7 92.85 294.31)
OKLaboklab(0.5637 0.0159 -0.2388)
OKLCHoklch(0.5637 0.2393 273.82)
Decimal5396990

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 5.8
Closest web-safe color#6666ff
Hue238°
Saturation (HSL / HSV)99% / 68%
Lightness (HSL)66%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)41% / 39%
Relative luminance (WCAG)0.1609
Red / Green / Blue82 / 89 / 254

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.98:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.22: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 73.7 / -28 · As background with white / black text: Lc -79.2 / 30.3

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