#4E5FF2

A color in the Blue, Sky, Navy family

#4e5ff2 is a color in the Blue, Sky, Navy family: RGB(78, 95, 242), HSL(234°, 86%, 63%), CMYK(68%, 61%, 0%, 5%). Closest named color: royalblue. Contrast is 4.95:1 on white and 4.24:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e5ff2
RGBrgb(78 95 242)
RGB (legacy)rgb(78, 95, 242)
RGB %rgb(31% 37% 95%)
HSLhsl(234 86% 63%)
HSV / HSBhsv(234, 68%, 95%)
HWBhwb(234 31% 5%)
CMYKcmyk(68%, 61%, 0%, 5%)
CIELAB (D50)lab(46.02 30.78 -77.43)
LCHlch(46.02 83.32 291.68)
OKLaboklab(0.5612 0.0083 -0.2185)
OKLCHoklch(0.5612 0.2187 272.17)
Decimal5136370

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 3.7
Closest web-safe color#6666ff
Hue234°
Saturation (HSL / HSV)86% / 68%
Lightness (HSL)63%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)42% / 40%
Relative luminance (WCAG)0.1621
Red / Green / Blue78 / 95 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.95:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.24: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.1 / 30.4

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: #4e5ff2;
  --color-brand-oklch: oklch(56.12% 0.2187 272.17);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 95 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e5ff2] text-[#4e5ff2] border-[#4e5ff2]">