#4E5DFD

A color in the Blue, Sky, Navy family

#4e5dfd is a color in the Blue, Sky, Navy family: RGB(78, 93, 253), HSL(235°, 98%, 65%), CMYK(69%, 63%, 0%, 1%). Closest named color: royalblue. Contrast is 4.87:1 on white and 4.31:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e5dfd
RGBrgb(78 93 253)
RGB (legacy)rgb(78, 93, 253)
RGB %rgb(31% 36% 99%)
HSLhsl(235 98% 65%)
HSV / HSBhsv(235, 69%, 99%)
HWBhwb(235 31% 1%)
CMYKcmyk(69%, 63%, 0%, 1%)
CIELAB (D50)lab(46.31 35.06 -83.08)
LCHlch(46.31 90.17 292.88)
OKLaboklab(0.567 0.0092 -0.2345)
OKLCHoklch(0.567 0.2347 272.24)
Decimal5135869

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 5.2
Closest web-safe color#6666ff
Hue235°
Saturation (HSL / HSV)98% / 69%
Lightness (HSL)65%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)42% / 40%
Relative luminance (WCAG)0.1654
Red / Green / Blue78 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.87:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.31: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.1 / -28.6 · As background with white / black text: Lc -78.6 / 31

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: #4e5dfd;
  --color-brand-oklch: oklch(56.7% 0.2347 272.24);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e5dfd] text-[#4e5dfd] border-[#4e5dfd]">