#4C4DFD

A color in the Blue, Sky, Navy family

#4c4dfd is a color in the Blue, Sky, Navy family: RGB(76, 77, 253), HSL(240°, 98%, 65%), CMYK(70%, 70%, 0%, 1%). Closest named color: royalblue. Contrast is 5.54:1 on white and 3.79:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4c4dfd
RGBrgb(76 77 253)
RGB (legacy)rgb(76, 77, 253)
RGB %rgb(30% 30% 99%)
HSLhsl(240 98% 65%)
HSV / HSBhsv(240, 70%, 99%)
HWBhwb(240 30% 1%)
CMYKcmyk(70%, 70%, 0%, 1%)
CIELAB (D50)lab(42.59 43.76 -89.19)
LCHlch(42.59 99.34 296.13)
OKLaboklab(0.5411 0.0167 -0.2516)
OKLCHoklch(0.5411 0.2521 273.79)
Decimal5000701

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 7.2
Closest web-safe color#3366ff
Hue240°
Saturation (HSL / HSV)98% / 70%
Lightness (HSL)65%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)38% / 35%
Relative luminance (WCAG)0.1394
Red / Green / Blue76 / 77 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.54:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.79: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 76.8 / -25 · As background with white / black text: Lc -82.1 / 27.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: #4c4dfd;
  --color-brand-oklch: oklch(54.11% 0.2521 273.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(76 77 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4c4dfd] text-[#4c4dfd] border-[#4c4dfd]">